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)
Tracking
()
UNCONFIRMED
People
(Reporter: jfernandez, Assigned: tlouw)
References
(Depends on 1 open bug)
Details
Attachments
(3 files)
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)
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
This issue is one of the causes of the failures detected in the following Web Platform Tests:
https://github.com/web-platform-tests/wpt/blob/master/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-007.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-008.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-009.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-010.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-011.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-012.html
Reporter | ||
Updated•6 years ago
|
Component: Untriaged → Layout
Product: Firefox → Core
Reporter | ||
Comment 4•6 years ago
|
||
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
Updated•6 years ago
|
Component: Layout → Layout: Grid
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → tlouw
Assignee | ||
Comment 5•2 years ago
|
||
This seems to be a more general issue with intrinsic calculation of items with orthogonal writing mode.
Depends on: 1310551
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•