mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #29757 - Loirooriol:sequential-context-2020, r=Loirooriol
Lay out floats and handle clearance in layout 2020, but don't flow text around them yet This is a crude rebase of #27539 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
f26d17096d
231 changed files with 1060 additions and 695 deletions
1
tests/wpt/metadata-layout-2020/css/CSS2/__dir__.ini
Normal file
1
tests/wpt/metadata-layout-2020/css/CSS2/__dir__.ini
Normal file
|
@ -0,0 +1 @@
|
|||
prefs: ["layout.floats.enabled:true"]
|
|
@ -1,2 +0,0 @@
|
|||
[c414-flt-fit-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[c414-flt-wrap-001.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[c5525-fltwidth-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[adjacent-floats-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-applies-to-000.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-applies-to-009.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-clearance-calculation-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-clearance-calculation-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-clearance-calculation-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-clearance-calculation-005.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-default-inheritance-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-005.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-007.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-008.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-float-009.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clear-initial-001.xht]
|
||||
expected: FAIL
|
|
@ -1,25 +1,4 @@
|
|||
[clear-no-interpolation.html]
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (0.5) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (0.6) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (1) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <clear> from [initial\] to [both\] at (1.5) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <clear> from [initial\] to [both\] at (-0.3) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -29,39 +8,6 @@
|
|||
[CSS Transitions with transition: all: property <clear> from [initial\] to [both\] at (0.3) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <clear> from [initial\] to [both\] at (0.5) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <clear> from [initial\] to [both\] at (0.6) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <clear> from [initial\] to [both\] at (1) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <clear> from [initial\] to [both\] at (1.5) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (0.5) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (0.6) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (1) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <clear> from [initial\] to [both\] at (1.5) should be [both\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <clear> from [initial\] to [both\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[clear-on-parent-and-child.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[clear-with-top-margin-after-cleared-empty-block.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[clearance-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-001a.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-004a.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-005.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-007.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-008.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-008a.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-009.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-012.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-applies-to-015.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-non-replaced-height-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-non-replaced-width-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-non-replaced-width-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-non-replaced-width-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-non-replaced-width-005.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[float-replaced-height-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-replaced-width-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-replaced-width-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-replaced-width-006.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-replaced-width-011.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-007.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-008.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-009.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-023.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-024.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-025.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-028.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-041.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-043.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-119.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-120.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-121.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-123.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +1,2 @@
|
|||
[float-005.xht]
|
||||
[floats-132.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-135.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +1,2 @@
|
|||
[clear-004.xht]
|
||||
[floats-139.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-141.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-144.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-146.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-147.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-154.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[floats-bfc-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-clear-multicol-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-clear-multicol-003.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-clear-multicol-balancing-002.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-clear-multicol-balancing-003.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[margin-collapse-018.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[margin-collapse-023.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[margin-collapse-027.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[margin-collapse-165.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[margin-collapse-166.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[no-clearance-due-to-large-margin-after-left-right.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[remove-block-before-self-collapsing-sibling-with-clearance.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[second-float-inside-empty-cleared-block-after-margin.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[second-float-inside-empty-cleared-block.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[computed-float-position-absolute.html]
|
||||
[The computed value of float with absolute positioning when there is no box should be "none"]
|
||||
expected: FAIL
|
|
@ -1,25 +1,4 @@
|
|||
[float-no-interpolation.html]
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (0.5) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (0.6) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (1) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <float> from [initial\] to [right\] at (1.5) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <float> from [initial\] to [right\] at (-0.3) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -29,39 +8,6 @@
|
|||
[CSS Transitions with transition: all: property <float> from [initial\] to [right\] at (0.3) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <float> from [initial\] to [right\] at (0.5) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <float> from [initial\] to [right\] at (0.6) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <float> from [initial\] to [right\] at (1) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <float> from [initial\] to [right\] at (1.5) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (0) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (0.5) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (0.6) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (1) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <float> from [initial\] to [right\] at (1.5) should be [right\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <float> from [initial\] to [right\] at (-0.3) should be [initial\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[float-nowrap-1.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[float-nowrap-3-ref.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[float-nowrap-4.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[float-nowrap-6.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[float-root.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[float-table-align-left-quirk.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[floats-in-table-caption-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[floats-placement-004.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[floats-placement-006.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[floats-placement-vertical-001a.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[floats-placement-vertical-001b.xht]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[floats-placement-vertical-001c.xht]
|
||||
expected: FAIL
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue