Don't pass up float stacking containers to parent stacking contexts

Instead of passing up stacking containers created by floated content,
keep them in their original parent stacking containers. This is in in
line with specification text for stacking containers:

> To paint a stacking container, given a box root and a canvas canvas:
>
>   1.  Paint a stacking context given root and canvas, treating root as
>       if it created a new stacking context, but omitting any positioned
>       descendants or descendants that actually create a stacking context
>       (letting the parent stacking context paint them, instead).
This commit is contained in:
Martin Robinson 2023-06-15 16:18:27 +02:00
parent fa266abd29
commit ae3c22aa88
No known key found for this signature in database
GPG key ID: D56AA4FA55EFE6F8
21 changed files with 35 additions and 38 deletions

View file

@ -0,0 +1,2 @@
[c414-flt-wrap-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-clearance-calculation-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[floats-placement-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[floats-placement-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[floats-placement-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[floats-placement-008.html]
expected: FAIL

View file

@ -0,0 +1,3 @@
[hit-test-floats-001.html]
[hit-test-floats-001]
expected: FAIL

View file

@ -1,2 +0,0 @@
[stack-floats-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[stack-floats-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[stack-floats-004.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-align-content-center.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-align-content-end.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-align-content-space-around.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-align-content-space-between.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-align-content-start.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flexbox_flex-formatting-interop.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[position-absolute-dynamic-static-position-floats-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[inline-level-absolute-in-block-level-context-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[inline-level-absolute-in-block-level-context-009.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[inline-level-absolute-in-block-level-context-010.html]
expected: FAIL