Closed Bug 1662257 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 25303 - ContentVisibility: Make the lifecycle tasks run only on full lifecycle.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

ContentVisibility: Make the lifecycle tasks run only on full lifecycle.

This patch changes the behavior of willstart- an didfinish- lifecycle
callbacks, as well as when the start of lifecycle tasks are run.

Previously, they would run on any call to the lifecycle update.
However, the intent of this is to document when the main frame
lifecycle runs (ie to PaintClean).

Fixed: 1121965
R=szager@chromium.org, chrishtr@chromium.org
Change-Id: I83bfa7142ca3fc9a94adbd0e5dfbe0245da3c9be
Reviewed-on: https://chromium-review.googlesource.com/2386222
WPT-Export-Revision: 72002ecf37a8cc98896dcb0dbdfa047ad428bcb7

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

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;: 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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b81c934253a [wpt PR 25303] - ContentVisibility: Make the lifecycle tasks run only on full lifecycle., a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.