mirror of
https://github.com/servo/servo.git
synced 2025-06-26 01:54:33 +01:00
14 lines
663 B
HTML
14 lines
663 B
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>
|