mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Place replaced and non-auto inline size independent FCs next to floats (#29977)
* Place replaced and non-auto inline size independent FCs next to floats The CSS2 specification says that replaced content and independent formatting contexts should be placed next to floats. This change adds support for that, but punts on support for independent formatting contexts that have an auto inline size. With an auto inline size, we which requires a much more complex layout algorithm. Co-authored-by: Oriol Brufau <obrufau@igalia.com> * Fix issue with where last band was taken into account for inline size * adjustment_from_floats should prevent margin collapse * Properly handle elements with 0 height --------- Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
64adc98e64
commit
ae3f33b9d0
13 changed files with 421 additions and 131 deletions
|
@ -1,2 +0,0 @@
|
|||
[floats-039.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-bfc-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-bfc-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-wrap-top-below-bfc-002r.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-wrap-top-below-bfc-003r.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[new-fc-beside-adjoining-float-2.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[new-fc-beside-float-with-margin.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[zero-space-between-floats-001.html]
|
||||
[#container 1]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[zero-space-between-floats-002.html]
|
||||
[#container 1]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[block-formatting-contexts-015.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[flexbox-paint-ordering-001.xhtml]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue