Open Bug 1886673 Opened 1 year ago

[wpt-sync] Sync PR 45242 - Remove css-animations/animation-canceled-by-parent test

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

sideshowbarker <mike@w3.org> wrote:

Remove css-animations/animation-canceled-by-parent test

This change removes the css-animations/animation-canceled-by-parent.html test — because it seems to have been written to expect that when the open attribute is removed from a details element, the details element’s second slot is removed from the DOM. But per-spec, UAs are now expected to not remove the details element’s second slot from the DOM when the details element’s “open” attribute is removed, but to instead set the details element’s second slot’s style to display: block; content-visibility: hidden. Thus, in conforming UAs, the animation now never gets canceled as previously expected — because the previously-expected cancel event now never fires.

You need to log in before you can comment on or make changes to this bug.