fune/testing/web-platform/tests/css/css-flexbox/anonymous-flex-item-003.html
Rune Lillesveen 0b61e937ad Bug 1504390 [wpt PR 13872] - Keep previous_in_flow across shadow boundary., a=testonly
Automatic update from web-platform-testsKeep previous_in_flow across shadow boundary.

For some reason we created a new AttachContext entering a ShadowRoot for
AttachLayoutTree. If the shadow host was display:contents we would lose
the previous_in_flow from the shadow tree checking the need for
whitespace LayoutObject for shadow host siblings.

Created a common space-separated words expectation for css.

Bug: 901323
Change-Id: Ib2fa54d55923c0497ff8e96c5010e68b01570881
Reviewed-on: https://chromium-review.googlesource.com/c/1314589
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604910}

--

wpt-commits: 25b7275dd46568b0ba28201940cadac3045616ff
wpt-pr: 13872
2018-11-10 09:03:09 +00:00

12 lines
557 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: Flex item - contiguous text runs - display:none 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="../reference/pass_if_two_words.html">
<p>There should be a space between "two" and "words" below.</p>
<div style="display:flex">two <span id="noneSpan"></span>words</div>
<script>
document.body.offsetTop;
noneSpan.style.display = "none";
</script>