summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/anonymous-flex-item-005.html
blob: a7de7b7a8546bf652f7330fbaccf56ccaecb34cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: Flex item - non-contiguous text runs - position:absolute dynamic</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-items">
<link rel="match" href="anonymous-flex-item-split-ref.html">
<p>The words "Two" and "lines" should not be on the same line.</p>
<div style="display:flex;flex-direction:column">Two <span id="absSpan"></span>lines</div>
<script>
  absSpan.style.display = "none";
  document.body.offsetTop;
  absSpan.style.position = "absolute";
  absSpan.style.display = "inline";
</script>