Place floats in layout 2020, but don't flow text around the floats yet.

This commit puts floats behind the `layout.floats.enabled` pref, because of the
following issues and unimplemented features:

* Inline formatting contexts don't take floats into account, so text doesn't
  flow around the floats yet.

* Non-floated block formatting contexts don't take floats into account, so BFCs
  can overlap floats.

* Block formatting contexts that contain floats don't expand vertically to
  contain all the floats. That is, floats can stick out the bottom of BFCs,
  contra spec.
This commit is contained in:
Patrick Walton 2020-07-22 10:52:11 -07:00 committed by Oriol Brufau
parent 053a0aa4fd
commit cdec48328e
235 changed files with 1018 additions and 623 deletions

View file

@ -0,0 +1 @@
prefs: ["layout.floats.enabled:true"]

View file

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

View file

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

View file

@ -0,0 +1,2 @@
[c5525-fltwidth-001.xht]
expected: FAIL

View file

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

View file

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

View file

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

View file

@ -1,2 +0,0 @@
[clear-applies-to-000.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-applies-to-009.xht]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -1,2 +0,0 @@
[clear-default-inheritance-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-004.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-005.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-006.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-007.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-008.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-float-009.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-initial-001.xht]
expected: FAIL

View file

@ -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

View file

@ -1,2 +0,0 @@
[clear-on-child-with-margins-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clear-on-parent-and-child.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clear-with-top-margin-after-cleared-empty-block.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clearance-006.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-001a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-004a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-005.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-006.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-007.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-008.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-008a.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-009.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-012.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-applies-to-015.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-non-replaced-height-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-non-replaced-width-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-non-replaced-width-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-non-replaced-width-004.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-non-replaced-width-005.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[float-replaced-height-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-replaced-width-003.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-replaced-width-004.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-replaced-width-006.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-replaced-width-011.xht]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,2 @@
[margin-collapse-018.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[margin-collapse-023.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[margin-collapse-027.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[margin-collapse-165.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[margin-collapse-166.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[no-clearance-due-to-large-margin-after-left-right.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[second-float-inside-empty-cleared-block-after-margin.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[second-float-inside-empty-cleared-block.html]
expected: FAIL

View file

@ -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

View file

@ -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,27 +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

View file

@ -1,2 +0,0 @@
[float-nowrap-1.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[float-nowrap-3-ref.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[float-nowrap-4.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[float-nowrap-6.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[float-root.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[float-table-align-left-quirk.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[float-under-flatten-under-preserve-3d.html]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

Some files were not shown because too many files have changed in this diff Show more