Closed Bug 1692365 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 27599 - [GridNG] Handle negative indices for out of flow items

Categories

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

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Ana SollanoKim <ansollan@microsoft.com>' wrote:

[GridNG] Handle negative indices for out of flow items

As it is the case for grid items, out of flow items' indices can have
negative values. This change adds support and web tests for the
following cases:

  1. Negative indices within the grid.
  2. Either the start or end line are defined as 'auto' and the
    corresponding line is at the start or end-most line of the grid.
  3. The out of flow item attempts to create new lines with negative
    indices.
  4. Combination of positive and negative indices.

Bug: 1045599
Change-Id: Id83db31bcbdb1ee4d5a0313fc109c1288eb12ed6

Reviewed-on: https://chromium-review.googlesource.com/2688802
WPT-Export-Revision: 5ac29a1b79e82b44634f32098e3d43b593fb8485

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 3 tests

Status Summary

Firefox

PASS: 3

Chrome

PASS: 3

Safari

PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee1be69979df [wpt PR 27599] - [GridNG] Handle negative indices for out of flow items, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.