Open Bug 1506817 Opened 6 years ago Updated 2 years ago

Grid area incorrectly sized when applying baseline alignment along the row axis

Categories

(Core :: Layout: Grid, defect)

63 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jfernandez, Assigned: tlouw)

References

(Depends on 1 open bug)

Details

Attachments

(3 files)

Attached file baseline-orthogonal-issue.html (deleted) —
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: 1- Load the attached test case Actual results: The first column item's content overflows over the one placed in the second column, despite both tracks are auto sized. (see baseline-orthogonal-issue-expected.png) Expected results: The size of the column tracks consider the baseline shims derived from the baseline alignment, avoiding any kind of content overflow (see baseline-orthogonal-issue-actual.png)
Attached image baseline-orthogonal-issue-expected.png (deleted) —
Attached image baseline-orthogonal-issue-actual.png (deleted) —
Component: Untriaged → Layout
Product: Firefox → Core
This is the relevant bits from the CSS Grid Layout spec that I consider apply to this bug: https://drafts.csswg.org/css-grid/#algo-baseline-shims
Component: Layout → Layout: Grid
Assignee: nobody → tlouw

This seems to be a more general issue with intrinsic calculation of items with orthogonal writing mode.

Depends on: 1310551
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: