-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1564572 [wpt PR 17733] - [LayoutNG] Ensure self-collapsing block …
…relayout when ancestor resolves., a=testonly Automatic update from web-platform-tests [LayoutNG] Ensure self-collapsing block relayout when ancestor resolves. This bug was a combination of older code before we had "forced" BFC block-offsets. We didn't correctly detect when we had a self-collapsing block (which had floats within it) that needed relayout if the initial estimate was wrong. This makes sure we give ourselves enough information to detect these cases. Bug: 980803 Change-Id: Id1ea5e10d819cb4509fd7664564b75b876f0f7cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690720 Commit-Queue: Ian Kilpatrick <ikilpatrickchromium.org> Commit-Queue: Emil A Eklund <eaechromium.org> Reviewed-by: Emil A Eklund <eaechromium.org> Cr-Commit-Position: refs/heads/master{#675729} -- wpt-commits: 137960cfe6ce5b4dfb7a6d0bad126d517e03e009 wpt-pr: 17733 UltraBlame original commit: a77ec3f112e35fc557439dc56d526bde3b8dee0a
- Loading branch information
Showing
1 changed file
with
214 additions
and
0 deletions.
There are no files selected for viewing
214 changes: 214 additions & 0 deletions
214
...web-platform/tests/css/CSS2/floats-clear/adjoining-float-nested-forced-clearance-004.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
< | ||
! | ||
DOCTYPE | ||
html | ||
> | ||
< | ||
html | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
match | ||
" | ||
href | ||
= | ||
" | ||
. | ||
. | ||
/ | ||
. | ||
. | ||
/ | ||
reference | ||
/ | ||
ref | ||
- | ||
filled | ||
- | ||
green | ||
- | ||
100px | ||
- | ||
square | ||
- | ||
only | ||
. | ||
html | ||
" | ||
/ | ||
> | ||
< | ||
link | ||
rel | ||
= | ||
" | ||
help | ||
" | ||
href | ||
= | ||
" | ||
https | ||
: | ||
/ | ||
/ | ||
www | ||
. | ||
w3 | ||
. | ||
org | ||
/ | ||
TR | ||
/ | ||
CSS22 | ||
/ | ||
visuren | ||
. | ||
html | ||
# | ||
flow | ||
- | ||
control | ||
" | ||
title | ||
= | ||
" | ||
9 | ||
. | ||
5 | ||
. | ||
2 | ||
Controlling | ||
flow | ||
next | ||
to | ||
floats | ||
: | ||
the | ||
' | ||
clear | ||
' | ||
property | ||
" | ||
> | ||
< | ||
p | ||
> | ||
Test | ||
passes | ||
if | ||
there | ||
is | ||
a | ||
filled | ||
green | ||
square | ||
. | ||
< | ||
/ | ||
p | ||
> | ||
< | ||
div | ||
style | ||
= | ||
" | ||
overflow | ||
: | ||
hidden | ||
; | ||
" | ||
> | ||
< | ||
/ | ||
div | ||
> | ||
< | ||
div | ||
style | ||
= | ||
" | ||
float | ||
: | ||
left | ||
; | ||
width | ||
: | ||
100px | ||
; | ||
height | ||
: | ||
50px | ||
; | ||
background | ||
: | ||
green | ||
; | ||
" | ||
> | ||
< | ||
/ | ||
div | ||
> | ||
< | ||
span | ||
> | ||
< | ||
div | ||
style | ||
= | ||
" | ||
clear | ||
: | ||
both | ||
; | ||
" | ||
> | ||
< | ||
div | ||
style | ||
= | ||
" | ||
height | ||
: | ||
10px | ||
; | ||
" | ||
> | ||
< | ||
div | ||
style | ||
= | ||
" | ||
float | ||
: | ||
left | ||
; | ||
width | ||
: | ||
100px | ||
; | ||
height | ||
: | ||
50px | ||
; | ||
background | ||
: | ||
green | ||
; | ||
" | ||
> | ||
< | ||
/ | ||
div | ||
> | ||
< | ||
/ | ||
div | ||
> | ||
< | ||
/ | ||
span | ||
> |