[wpt-sync] Sync PR 26301 - Revert "[GridNG] Implement alignment within grid-areas."
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox84 fixed)
| Tracking | Status | |
|---|---|---|
| firefox84 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26301 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26301
Details from upstream follow.
b'Kunihiko Sakamoto <ksakamoto@chromium.org>' wrote:
Revert "[GridNG] Implement alignment within grid-areas."
This reverts commit f6a053018ae3a5fdfe08a0f1bb15ad61d79026cd.
Reason for revert: virtual/layout-ng-grid/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-*.html are failing in multiple bots.
https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Win10/75331
https://ci.chromium.org/p/chromium/builders/ci/Mac10.14%20Tests/9841
https://ci.chromium.org/p/chromium/builders/ci/linux-trusty-rel/17342Original change's description:
[GridNG] Implement alignment within grid-areas.
This patch implements alignment within a grid-item's grid-area.
When creating the GridItemData we read of the containers, and
grid-item's style, or determine its alignment axis-edge, and if it
should be stretched, saving this information on the GridItemData.When placing the grid-item it will use this to adjust the offset.
This doesn't implement baseline alignment which requires a secondary
pass to correctly determine the baseline for the column/row.The other TODO relates to the constraint-space API, and how grid will
need a slightly new concept in order to do block-axis stretching
easily. By default non-replaced grid-items will stretch to the available
space. A new bit on the space can indicate that we should stretch to
the available space (if possible), this is similar to the shrink-to-fit
bit we have today.This adds a self-start/self-end test as after implementing this now new
tests passed immediately, and I don't believe we had good test
coverage for inflow content with these keywords.Bug: 1045599
Change-Id: I8c9cc51381c3d75519e52b32472b58ec96a6a85a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2492176
Commit-Queue: Ian Kilpatrick \<ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger \<cbiesinger@chromium.org>
Reviewed-by: Kurt Catti-Schmidt \<kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#821043}TBR=cbiesinger@chromium.org,ikilpatrick@chromium.org,kschmi@microsoft.com,ansollan@microsoft.com
Change-Id: I0a9398ce4bf339a632c3baed7374754f3c664496
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1045599
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500969
Reviewed-by: Kunihiko Sakamoto \<ksakamoto@chromium.org>
Commit-Queue: Kunihiko Sakamoto \<ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821074}
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
| bugherder | ||
Description
•