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