diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-display/display-inline-dynamic-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-display/display-inline-dynamic-001.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-display/display-inline-dynamic-001.html b/testing/web-platform/tests/css/css-display/display-inline-dynamic-001.html new file mode 100644 index 0000000000..7df697f940 --- /dev/null +++ b/testing/web-platform/tests/css/css-display/display-inline-dynamic-001.html @@ -0,0 +1,10 @@ +<!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> |