Closed Bug 1828032 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39534 - [anchor-position] Abort main frame commit for scroll-offset-only changes

Categories

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

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

[anchor-position] Abort main frame commit for scroll-offset-only changes

This patch makes anchor-scroll skip main thread commits by:

  • Making kAnchorScroll's change type composited-value only, so that
    we can abort main thread commits
  • Make GeometryMapper also consider anchor-scroll, so that it won't
    incorrectly merge layers above and below the anchor-scroll element,
    causing incorrect paint order (and hence incorrect overlap)
  • Set transform_changed flag in cc TransformNode, so that its
    damage rect is correctly tracked

Fixed: 1385948
Change-Id: Ic82ee09cc8da57342830aa9f6946eb00f7b9fd16

Reviewed-on: https://chromium-review.googlesource.com/4371260
WPT-Export-Revision: 14d204f8cf9818872b0d12b497cde7c2a49f2932

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

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/1ba8eb749676 [wpt PR 39534] - [anchor-position] Abort main frame commit for scroll-offset-only changes, a=testonly https://hg.mozilla.org/integration/autoland/rev/9ce0abdec014 [wpt PR 39534] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.