[wpt-sync] Sync PR 39975 - [GridNG] Opposite direction last indefinite index
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39975 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39975
Details from upstream follow.
Kurt Catti-Schmidt <kschmi@microsoft.com> wrote:
[GridNG] Opposite direction last indefinite index
This CL fixes several issues with opposite-direction nested subgrids in
auto-sized tracks. First, thelast_indefinite_indexarray needs to be
reversed. We can't simply reverse the array, since it's an array of
prior indices. Ethan suggested a clever idea, which is to rebuild the
array by looking at when the parent array changed in subsequent values,
as that's how it's originally built up.The second issue this fixes is that the extra margin for contribution
sizes needs to swap the start and end offsets.A new test was added that's a variation of
writing-directions-002.htmlbut with auto track sizes.Bug: 618969
Change-Id: I495daa34e3c0c0cadd5f25d7a9212641c05bb81dReviewed-on: https://chromium-review.googlesource.com/4506078
WPT-Export-Revision: dc0074a31e5a5cb7aec627310e8b7be8907c6c75
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
| bugherder | ||
Description
•