summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-display/display-inline-dynamic-001.html
blob: 7df697f940d4a20d26c92fa40266ed1f67d4cd19 (plain)
1
2
3
4
5
6
7
8
9
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>