Open Bug 1902795 Opened 5 months ago

Firefox fails WPTs css/css-grid/alignment/grid-justify-baseline-004.html and css/css-grid/alignment/grid-justify-baseline-005.html

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 1 open bug)

Details

We fail some subtests in these WPTs:
https://wpt.fyi/results/css/css-grid/alignment/grid-justify-baseline-004.html?label=master&label=experimental&aligned
https://wpt.fyi/results/css/css-grid/alignment/grid-justify-baseline-005.html?label=experimental&label=master&aligned

wpt.fyi:
http://wpt.live/css/css-grid/alignment/grid-justify-baseline-004.html
http://wpt.live/css/css-grid/alignment/grid-justify-baseline-005.html
(These failures used to be tracked under the broader bug 1848253, but that bug has mostly been fixed, so I'm spinning this off for these remaining failures.)

The subtest failure in the -004 test is:

#target > div 3
assert_equals: <div data-offset-y="75"><span></span><br><span></span></div> offsetTop expected 75 but got 110

and the failures in the -005 test are:

target > div 2
assert_equals: <div style="grid-row: 2; grid-column: span 3; justify-self: baseline;" data-offset-x="100">line1<br>line2</div> offsetLeft expected 100 but got 110

#target > div 4
assert_equals: <div style="grid-row: 4; grid-column: span 3; justify-self: last baseline;" data-offset-x="10">line1<br>line2</div> offsetLeft expected 10 but got 0
You need to log in before you can comment on or make changes to this bug.