https://github.com/mozilla/gecko-dev
Raw File
Tip revision: d7dd1abc4b9c4ede41090a31e598150a4790873f authored by Emilio Cobos Álvarez on 14 June 2024, 07:59:25 UTC
Bug 1902156 - Account for continuations to remove anonymous wrappers. r=dholbert, a=RyanVM
Tip revision: d7dd1ab
text-indent-parent-dynamic.html
<!DOCTYPE html>
<html>
<body>

<div id="x" style="background: lightgreen; height: 3em; width: 400px; padding: 4px;">
  <div style="text-indent: 40%; width: 200px; background: yellow;">X</div>
</div>

<script>
var x = document.getElementById('x');
x.offsetWidth;
x.style.width = '500px';
</script>
</body>
</html>
back to top