Closed Bug 1728428 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 30268 - Fix animation can see through problem

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Xida Chen <xidachen@chromium.org>' wrote:

Fix animation can see through problem

We found that for the animations that uses paint worklet infra,
which are background-color and custom property animations, we can
see through the browser window when there is one keyframe with
alpha \< 1.

Investigation shows that the reason is that the contents_opaque_
in the LayerImpl isn't correctly set. This CL fixes the problem
and add tests.

Bug: 1244155, 1237234
Change-Id: Iecddfa2c335f65e1857a96ae7790eaa4e91952d0
Reviewed-on: https://chromium-review.googlesource.com/3132822
WPT-Export-Revision: 6a2eaadf496834eea299d4a550cd2e589b8af082

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core

CI Results

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

Total 2 tests

Status Summary

Firefox

PASS : 1
TIMEOUT: 1

Chrome

PASS : 2

Safari

PASS : 1
TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-paint-api/one-custom-property-animation-half-opaque.https.html: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: PASS, Safari: TIMEOUT)

Tests Disabled in Gecko Infrastructure

/css/css-paint-api/one-custom-property-animation-half-opaque.https.html: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: PASS, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/048d16a6f975
[wpt PR 30268] - Fix animation can see through problem, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.