Skip to content

Commit

Permalink
Bug 1564572 [wpt PR 17733] - [LayoutNG] Ensure self-collapsing block …
Browse files Browse the repository at this point in the history
…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
marco-c committed Oct 4, 2019
1 parent 7bebb72 commit 52c9f27
Showing 1 changed file with 214 additions and 0 deletions.
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
>

0 comments on commit 52c9f27

Please sign in to comment.