Closed Bug 1667848 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25821 - content-visibility: Ensure to keep the DL unlocked if targetted by scroll

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Vladimir Levin <vmpstr@chromium.org>' wrote:

content-visibility: Ensure to keep the DL unlocked if targetted by scroll

This patch generalizes the find-in-page fix we had previously to also
apply to other methods that can use to scroll the viewport to the
element in a locked subtree. Specifically, this keep the lock unlocked
for two frames to ensure that the visibility notification kicks in to
keep it unlocked until the user scrolls away.

R=chrishtr@chromium.org

Bug: 1132869
Change-Id: I598f82f73429e41839a6675321eb6fb1eb84f6b5
Reviewed-on: https://chromium-review.googlesource.com/2435808
WPT-Export-Revision: f3d2c3dd16d465b612ee6db4056727e2b63bdb96

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 4 tests

Status Summary

Firefox

OK : 1
FAIL: 7

Chrome

OK : 1
PASS: 4
FAIL: 3

Safari

OK : 1
PASS: 2
FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-contain/content-visibility/content-visibility-026.html
content-visibility: hidden adds contain: size layout style;: FAIL (Chrome: PASS, Safari: FAIL)
content-visibility: auto adds contain: size layout style paint;: FAIL (Chrome: PASS, Safari: FAIL)
content-visibility: auto adds contain: size layout style paint, can't be overridden: FAIL (Chrome: PASS, Safari: FAIL)
content-visibility keeps all containment even when shorthands are specified: FAIL (Chrome: PASS, Safari: FAIL)
/css/css-contain/content-visibility/content-visibility-058.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-contain/content-visibility/content-visibility-075.html: FAIL (Chrome: FAIL, Safari: PASS)
/css/css-contain/content-visibility/content-visibility-076.html: FAIL (Chrome: FAIL, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c8d8a39bb4db [wpt PR 25821] - content-visibility: Ensure to keep the DL unlocked if targeted by scroll, a=testonly https://hg.mozilla.org/integration/autoland/rev/e873b401711c [wpt PR 25821] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.