Use content-visibility rather than display: none to hide
This matches the current shipping version of Chromium, and the last animation-canceled-by-parent-details-element-being-closed.html is Differential Revision: https://phabricator.services.mozilla.com/D217192
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1789166 content.
version of the spec, except for the display when open, which per
spec ought to be block
, but it's still contents
.
invalid because content-visibility doesn't cancel animations, just
pauses them. It also times out in Chrome.
gecko-commit: 6904d078df0be1cd17df43b3ed219a17708386b8
gecko-reviewers: smaug