1
0
Fork 0
firefox/layout/reftests/text-indent/dynamic-change-with-overflow-1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
375 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<div style="overflow: hidden;">
Some text.
</div>
<script>
onload = function() {
var div = document.querySelector("div");
// Make sure layout has happened.
window.width = div.offsetWidth;
div.style.textIndent = "50px";
document.documentElement.className = "";
}
</script>
</html>