Closed Bug 1492680 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 13089 - Implement feature-policy: 'layout-animations'

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ehsan Karamad <ekaramad@chromium.org> wrote:
>  Implement feature-policy: 'layout-animations'
>  
>  This CL converts the current "animations" feature policy to "layout-animations"
>  feature policy: the former policy is about blocking non-composited animations
>  whereas the new policy only blocks a handful of CSS animations which are known
>  to (potentially) cause re-layout and are also widely used. The current set of
>  CSS properties considered in the new policy is: {bottom, height, left, right,
>  top, width}.
>  
>  Bug: 874218
>  Change-Id: I97f08ce6b2b902c7057ea821416a9c145d26f068
>  Reviewed-on: https://chromium-review.googlesource.com/1235055
>  WPT-Export-Revision: 206aeb0888ecaf576b0c2c46d750102bf80ddd14
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 11 tests and 476 subtests
OK     : 11
PASS   : 300
FAIL   : 176

New tests that have failures or other problems:
/feature-policy/experimental-features/layout-animations-disabled-tentative.html
    Testing property "bottom".Animation between "100px" and "200px" at progress -1: FAIL
    Testing property "bottom".Animation between "100px" and "200px" at progress 0.125: FAIL
    Testing property "bottom".Animation between "100px" and "200px" at progress 0.875: FAIL
    Testing property "bottom".Animation between "100px" and "200px" at progress 2: FAIL
    Testing property "height".Animation between "100px" and "200px" at progress -1: FAIL
    Testing property "height".Animation between "100px" and "200px" at progress 0.125: FAIL
    Testing property "height".Animation between "100px" and "200px" at progress 0.875: FAIL
    Testing property "height".Animation between "100px" and "200px" at progress 2: FAIL
    Testing property "left".Animation between "100px" and "200px" at progress -1: FAIL
    Testing property "left".Animation between "100px" and "200px" at progress 0.125: FAIL
    Testing property "left".Animation between "100px" and "200px" at progress 0.875: FAIL
    Testing property "left".Animation between "100px" and "200px" at progress 2: FAIL
    Testing property "right".Animation between "100px" and "200px" at progress -1: FAIL
    Testing property "right".Animation between "100px" and "200px" at progress 0.125: FAIL
    Testing property "right".Animation between "100px" and "200px" at progress 0.875: FAIL
    Testing property "right".Animation between "100px" and "200px" at progress 2: FAIL
    Testing property "top".Animation between "100px" and "200px" at progress -1: FAIL
    Testing property "top".Animation between "100px" and "200px" at progress 0.125: FAIL
    Testing property "top".Animation between "100px" and "200px" at progress 0.875: FAIL
    Testing property "top".Animation between "100px" and "200px" at progress 2: FAIL
    Testing property "width".Animation between "100px" and "200px" at progress -1: FAIL
    Testing property "width".Animation between "100px" and "200px" at progress 0.125: FAIL
    Testing property "width".Animation between "100px" and "200px" at progress 0.875: FAIL
    Testing property "width".Animation between "100px" and "200px" at progress 2: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/29bb736d38ed
[wpt PR 13089] - Implement feature-policy: 'layout-animations', a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/230d9bd6f5f2
[wpt PR 13089] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/29bb736d38ed
https://hg.mozilla.org/mozilla-central/rev/230d9bd6f5f2
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.