wpt / css / css-flexbox / anonymous-flex-item-005.html

Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-flexbox/anonymous-flex-item-005.html

<!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>

/css/css-flexbox/anonymous-flex-item-split-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
<p>The words "Two" and "lines" should not be on the same line.</p>
Two<br>
lines