diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-08-11 09:19:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-11 07:19:50 +0000 |
commit | 59f5414ca86966738e3bafd6cc7f2dbaf38d1451 (patch) | |
tree | c3206e5199bca282a2f77ecdc3223850888f80c1 /tests/wpt/mozilla | |
parent | 450f8193a567ac6e5acd84e89fe73ed7ce137a78 (diff) | |
download | servo-59f5414ca86966738e3bafd6cc7f2dbaf38d1451.tar.gz servo-59f5414ca86966738e3bafd6cc7f2dbaf38d1451.zip |
Split line layout into two phases (#30089)
In the first phase, we gather LineItems and then when we have enough to
form a line we turn them into Fragments. This will make it possible to
more simply implement `vertical-align` and `text-align: justify` because
we need to measure the different aspects of the candidate line and then
produce a Fragments.
This is a general refactor of the way that inline layout works, so comes
with some progressions. In addition there are some new failures.
New failures:
Some tests are now failing because only the test or reference is getting
proper line height when it wasn't before. These should be fixed in a
followup change that properly calculate line-height in more cases:
- /_mozilla/css/list_style_position_a.html
- /css/CSS2/floats/float-no-content-beside-001.html
- /css/css-content/pseudo-element-inline-box.html
- /css/css-flexbox/flexbox_flex-none-wrappable-content.html
Some tests are now failing because floats are now placed properly, but
are no longer in their inline box stacking contexts. These will be fixed
by a followup change which properly parents them:
- /css/filter-effects/filtered-inline-applies-to-float.html.ini
- /css/css-color/inline-opacity-float-child.html.ini
One test is failing due to floating point precision errors:
- /css/CSS2/floats-clear/floats-141.xht.ini
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'tests/wpt/mozilla')
-rw-r--r-- | tests/wpt/mozilla/meta/css/input_whitespace.html.ini | 2 | ||||
-rw-r--r-- | tests/wpt/mozilla/meta/css/list_style_position_a.html.ini | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/wpt/mozilla/meta/css/input_whitespace.html.ini b/tests/wpt/mozilla/meta/css/input_whitespace.html.ini deleted file mode 100644 index d4d47c4946b..00000000000 --- a/tests/wpt/mozilla/meta/css/input_whitespace.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[input_whitespace.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta/css/list_style_position_a.html.ini b/tests/wpt/mozilla/meta/css/list_style_position_a.html.ini new file mode 100644 index 00000000000..877f3d021e9 --- /dev/null +++ b/tests/wpt/mozilla/meta/css/list_style_position_a.html.ini @@ -0,0 +1,2 @@ +[list_style_position_a.html] + expected: FAIL |