1
0
Fork 0
firefox/testing/web-platform/tests/css/css-display/display-inline-dynamic-001.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

10 lines
412 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-display/">
<link rel="match" href="display-inline-dynamic-001-ref.html">
<style>div::first-line { font-family:monospace; color:green; }</style>
<p>Test passes if PASS is displayed in green below.</p>
<div>P<span id="showme" style="display:none;">AS</span>S</div>
<script>
document.body.offsetTop;
showme.style.display = "inline";
</script>