[css-grid] Baseline aligned items should join the correct sharing group according to writing mode
Categories
(Core :: Layout: Grid, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: tlouw, Assigned: tlouw)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
https://drafts.csswg.org/css-align-3/#baseline-terms
The baseline alignment preferences of two boxes in a baseline-sharing group are compatible if they have:
- the same block flow direction and same baseline alignment preference
- opposite block flow direction and opposite baseline alignment preference
| Assignee | ||
Comment 1•2 years ago
|
||
This avoids using raw integer values which might cause bugs.
Also removed a clang-format: off block for better formatting.
| Assignee | ||
Comment 2•2 years ago
|
||
https://drafts.csswg.org/css-align-3/#baseline-terms
The baseline sharing group is not equal to the baseline specified for
the item. It has to be calculated separately. The baseline sharing
group determines on which side of the block the item is aligned, but the
specified baseline is still used to determine the baseline of the item.
Depends on D200767
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out for causing build bustages in nsIFrame.h
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/layout/generic/nsIFrame.h(4522,15): error: inline function 'nsIFrame::IsMasonry' is not defined [-Werror,-Wundefined-inline]
| Assignee | ||
Comment 5•2 years ago
|
||
False positive warning reported by clangd for a removed header file. Fixed and relanded.
Comment 8•2 years ago
|
||
Backed out for causing wr failures on masonry-grid-item-content-baseline-001.html.
Comment 9•2 years ago
|
||
| bugherder | ||
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
Backed out for causing Wr failures on align-items-baseline-row-vert.html
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
Description
•