Skip to content

Commit

Permalink
[layout] Disable break-propagation for layout contained elements.
Browse files Browse the repository at this point in the history
contain-layout-breaks-002.html was incorrect in that it was inserting a
unnecessary break.

Fixed: 868704
Change-Id: I077901143e3d196d34e1e18e2388c860b59f4ebd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3682222
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1010754}
  • Loading branch information
bfgeek authored and chromium-wpt-export-bot committed Jun 3, 2022
1 parent ec0ae2e commit b8f0622
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion css/css-contain/contain-layout-breaks-002.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}
</style>

<p>Test passes if there is a) a blue square below a yellow square and b) an orange square on the righthand side of the yellow square.
<p>Test passes if there is a) a blue square below a yellow square and b) an orange square below a blue square.

<article>

Expand Down
11 changes: 8 additions & 3 deletions css/css-contain/reference/contain-layout-breaks-002-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@
}
</style>

<p>Test passes if there is a) a blue square below a yellow square and b) an orange square on the righthand side of the yellow square.
<p>Test passes if there is a) a blue square below a yellow square and b) an orange square below a blue square.

<div><img src="../support/swatch-yellow.png" width="100" height="100" alt="Image download support must be enabled"><br><img src="../support/swatch-blue.png" width="100" height="100" alt="Image download support must be enabled"></div>
<div>
<img src="../support/swatch-yellow.png" width="100" height="100" alt="Image download support must be enabled">
<br>
<img src="../support/swatch-blue.png" width="100" height="100" alt="Image download support must be enabled">
<br>
<img src="../support/swatch-orange.png" width="100" height="100" alt="Image download support must be enabled">
</div>

<div><img src="../support/swatch-orange.png" width="100" height="100" alt="Image download support must be enabled"></div>

0 comments on commit b8f0622

Please sign in to comment.