Open Bug 1850053 Opened 1 year ago Updated 1 year ago

WPT css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-* failures in Firefox

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

We fail this WPT:
https://wpt.fyi/results/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-011.html
http://wpt.live/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-011.html

I think this a version of bug 1310551.

Essentially it seems that we size the firstRowFirstColumn element to be ~1em wide, when in fact it should be ~3em wide. If I use devtools to add width:3em to that element, then it looks visually like the test passes (modulo red fringes which I think don't show up in the test harness where antialiasing is disabled for the Ahem font). So that's the size that we're failing to apply automatically (to shrinkwrap our content).

(To analyze/visualize the behavior-difference vs. other browsers here, it's easiest to remove the green background from the block element, and then add a border around firstRowFirstColumn.)

Summary: WPT css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-011.html fails in Firefox → WPT css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-* failures in Firefox
You need to log in before you can comment on or make changes to this bug.