Closed Bug 1870865 Opened 10 months ago Closed 9 months ago

[wpt-sync] Sync PR 43728 - [@position-fallback] Make sure LayoutObject style is correct

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

[@position-fallback] Make sure LayoutObject style is correct

When trying to make room for absolute positioned with position-fallback
the style without animations applied is used. Since TryCalculateOffset
uses a mix of the passed in style and the style retrieved from the
LayoutObject, we need to set the base style on the LayoutObject to make
sure they are in sync.

Bug: 1512373
Change-Id: Id7bc35b11a5c9b2b7c0ac20883ff457f4d8bbfd3
Reviewed-on: https://chromium-review.googlesource.com/5134895
WPT-Export-Revision: 4e1f227c7623885621b6184474199deaaa2a20e3

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac3ba3630ab8 [wpt PR 43728] - [@position-fallback] Make sure LayoutObject style is correct, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/03cb35261a34 [wpt PR 43728] - [@position-fallback] Make sure LayoutObject style is correct, a=testonly
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.