mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
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
11 lines
535 B
HTML
11 lines
535 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Whitespace across display:contents shadow host</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
|
|
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
|
|
<link rel="match" href="../reference/pass_if_two_words.html">
|
|
<p>There should be a space between "two" and "words" below.</p>
|
|
<div id="host" style="display:contents"></div> <span>words</span>
|
|
<script>
|
|
host.attachShadow({mode:"open"}).innerHTML = "two";
|
|
</script>
|