Closed Bug 2089443 Opened 12 days ago Closed 4 days ago

[wpt-sync] Sync PR 64468 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=312277

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Simon Fraser <simon.fraser@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=312277

WebKit export from bug: [<!---->Scroll anchoring]<!----> Transform changes fail to suppress anchoring sometimes

<pre>
[Scroll anchoring] Transform changes fail to suppress anchoring sometimes

A transform change results in a Style::DifferenceResult::Overflow or RecompositeLayer,
so we need to all scrollAnchoringSuppressionStyleDidChange() for this diff type.

The test needs to change both height of a sibling, and transform on the wrapper,
because the transform change alone never results in anchoring adjustments; this is
because the before-layout transform already has the new state, since RenderLayer
updates its transform on style change. But this isn't a problem, since transform
changes suppress anchoring anyway.

This includes the lint fixes from <a href="https://commits.webkit.org/325383@main.">https://commits.webkit.org/325383@main.</a>

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=312277">https://bugs.webkit.org/show_bug.cgi?id=312277</a>
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=329678">https://bugs.webkit.org/show_bug.cgi?id=329678</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/311253@main">https://commits.webkit.org/311253@main</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core
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 and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

GitHub PR Head
GitHub PR Base

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