Firefox fails WPT css/css-grid/alignment/grid-align-baseline-table-002.html
Categories
(Core :: Layout: Grid, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
We fail subtests in these interop-2023-grid WPT tests:
https://wpt.fyi/results/css/css-grid/alignment/grid-align-baseline-table-001.html
https://wpt.fyi/results/css/css-grid/alignment/grid-align-baseline-table-002.html
https://wpt.fyi/results/css/css-grid/alignment/grid-align-baseline-table-003.html
wpt.live links:
http://wpt.live/css/css-grid/alignment/grid-align-baseline-table-001.html
http://wpt.live/css/css-grid/alignment/grid-align-baseline-table-002.html
http://wpt.live/css/css-grid/alignment/grid-align-baseline-table-003.html
As in bug 1848424, it looks like all of the failures are in cases where we're doing last baseline alignment, and we're failing to extract a last baseline from the grid item (which happens to be a table).
Some additional references:
- the results table in these tests are a bit broken-looking right now; that's not relevant to our pass/fail status but it'll be fixed in bug 1848445.
- these tests also use multiple table-captions which we don't support (bug 144517). I haven't checked whether that'll mean we'll still fail these tests or not when we fix the
last baselinealignment issue; but it's possible we'll still fail a subtest or two due to that.
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Comment 1•3 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #0)
As in bug 1848424, it looks like all of the failures are in cases where we're doing
last baselinealignment, and we're failing to extract alast baselinefrom the grid item (which happens to be a table).
Note: it's possible that bug 1848424's fix will fix this bug too (or vice versa), if the issue is in some common grid code that's failing to correctly request a last baseline or something.
Comment 2•2 years ago
|
||
-001 and -003 were fixed by bug 1876612
| Reporter | ||
Comment 3•1 year ago
|
||
https://wpt.live/css/css-grid/alignment/grid-align-baseline-table-002.html is still failing two subtests, but I confirmed that it's just a version of bug 144517 as alluded to at the end of comment 0.
(The test is expecting offsetLeft values that are 40px larger than what we're getting ("offsetLeft expected 115 but got 75", "offsetLeft expected 65 but got 25"). If I add view the testcase in Chrome and add display:none to the bottom caption (to make Chrome ignore those captions in the same way that they're ignored in Firefox), then they produce the same offsetLeft values that we do for those elements (75 and 25). So the 40px difference just comes from the width of that "Bottom" caption which we don't render.)
| Reporter | ||
Updated•1 year ago
|
Description
•