1
0
Fork 0
firefox/layout/reftests/svg/foreignObject-dynamic-line-height-01.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

17 lines
500 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<svg id="box">
<foreignObject width="100" height="100">
This is long text that wraps.
</foreignObject>
</svg>
<script>
document.addEventListener("MozReftestInvalidate", doTest, false);
setTimeout(doTest, 4000); // fallback for running outside reftest
function doTest() {
document.querySelector("foreignObject").style.lineHeight = 3;
document.documentElement.removeAttribute('class');
}
</script>
</htmml>