Closed Bug 1602153 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 20667 - Fix invalidation for OOF-positioned objects with a display change.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

Fix invalidation for OOF-positioned objects with a display change.

Previously this branch was too limiting. It was possible for both:

  • Parent() == ContainingBlock() and,
  • OriginalDisplay() == EDisplay::kInline or something else.

This means that we invalidate, and correctly re-calculate the new
static-position.

Change-Id: I045d7cc27c951b3ae0faa5dd14887852b38bc828
Reviewed-on: https://chromium-review.googlesource.com/1956373
WPT-Export-Revision: b4ae2bfd9bf5385ec15ebc39ed6bedc064291ce0

Component: web-platform-tests → Layout: Positioned
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.