Closed Bug 1834619 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40174 - [anchor-position] Set NeedsPaintPropertyUpdate in anchor-scroll layout invalidation

Categories

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

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

[anchor-position] Set NeedsPaintPropertyUpdate in anchor-scroll layout invalidation

There are some cases where AnchorScrollData invalidates layout but the
relayout is a no-op and doesn't set NeedsPaintPropertyUpdate, without
which the target element's translation offset won't be updated.

So this patch adds SetNeedsPaintPropertyUpdate to anchor-scroll's
layout invalidation.

Fixed: 1439178
Change-Id: I24013308c27fe67107528917b7d008f4352aa7e7
Reviewed-on: https://chromium-review.googlesource.com/4556321
WPT-Export-Revision: 15413b13f07656833a8799ffe1323a26de825553

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2fd57eb37f5a [wpt PR 40174] - [anchor-position] Set NeedsPaintPropertyUpdate in anchor-scroll layout invalidation, a=testonly https://hg.mozilla.org/integration/autoland/rev/21aa59308bae [wpt PR 40174] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.