Closed Bug 1695365 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27811 - [GridNG] Fix querying %-padding on grid-items.

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 27811 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27811
Details from upstream follow.

b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:

[GridNG] Fix querying %-padding on grid-items.

As above. ComputedCSSPadding will simply look at the available
inline-size of its containing-block. Legacy grid worked by setting the
override containing-block inline-size.

This patch writes back the %-size.

This isn't ideal - in a future world we should answer these queries
directly from the fragment(s), but we aren't there yet.

Bug: 1045599
Change-Id: I3afd8d03b0410dd0e02aba4133de28d92432630e
Reviewed-on: https://chromium-review.googlesource.com/2721043
WPT-Export-Revision: 4cbfca60bed2405aad4e894df586186fdaa94461

Component: web-platform-tests → Layout: Grid
Product: Testing → Core

CI Results

Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ea89d277312
[wpt PR 27811] - [GridNG] Fix querying %-padding on grid-items., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.