github web-platform-tests/wpt merge_pr_47214

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
14 months ago

Use content-visibility rather than display: none to hide

content.

This matches the current shipping version of Chromium, and the last
version of the spec, except for the display when open, which per
spec ought to be block, but it's still contents.

animation-canceled-by-parent-details-element-being-closed.html is
invalid because content-visibility doesn't cancel animations, just
pauses them. It also times out in Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D217192

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1789166
gecko-commit: 6904d078df0be1cd17df43b3ed219a17708386b8
gecko-reviewers: smaug

Don't miss a new wpt release

NewReleases is sending notifications on new releases.