Closed Bug 1660532 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25191 - wpt: Fix the content-visibility test to reflect sync-auto observation.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Vladimir Levin <vmpstr@chromium.org> wrote:

wpt: Fix the content-visibility test to reflect sync-auto observation.

The spec has changed to ensure that 'auto' content-visibility
intersection observations are synchronous (after lifecycle) on the
first frame.

The test change is to expect new behavior as well as test previous
behavior by making a container off-screen first.

R=chrishtr@chromium.org, jarhar@chromium.org

Change-Id: I0ef3182b04a2a8731a80a044689581f2a5ac3c2a
Reviewed-on: https://chromium-review.googlesource.com/2368509
WPT-Export-Revision: 68923eba458a86d93b0ab91857d780419574cad5

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 and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
PASS: 4

Safari

OK : 1
FAIL: 4

Links

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, can't be overridden: FAIL (Chrome: PASS, Safari: FAIL)
content-visibility keeps all containment even when shorthands are specified: FAIL (Chrome: PASS, Safari: FAIL)
content-visibility: auto adds contain: size layout style paint;: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9a38734fe814
[wpt PR 25191] - wpt: Fix the content-visibility test to reflect sync-auto observation., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.