Skip to content

Top layer animations (animatable display and content-visibility) #1456

Closed

Description

@captainbrosset

Description

There's a set of CSS features which, when used together, make top layer elements, like <dialog> elements, or elements with the popover attribute, animatable as they enter and exit the top layer.

These features are:

  • The overlay CSS property
  • The @starting-style at-rule
  • The transition-behavior CSS property
  • The ability to animate the display and content-visibility CSS properties

Out of those, the following only are not yet widely available:

However, according to the Deprecate and remove: CSS overlay property chromestatus entry, developer feedback about the overlay property has shown that it creates bugs that are hard to track down, and Chrome engineers want to deprecate the property and keep the animated elements in the top layer automatically during their exit animations.

So this proposal is focused on making the display and content-visibility CSS properties be animatable.

Specification

https://drafts.csswg.org/css-display-4/#display-animation and https://drafts.csswg.org/css-contain-3/#content-visibility-animation

web-feature

display-animation

Test Links

https://wpt.fyi/results/?label=experimental&label=master&aligned&q=feature%3Adisplay-animation

Additional Signals

Activity

  1. github-actions commented on Sep 23, 2026

    @github-actions

    This comment was automatically generated based on the information you provided. Please don't edit it.

    Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
    If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
    To find feature IDs, use the web-features explorer.

    Feature display animation

  2. captainbrosset commented on Sep 28, 2026

    @captainbrosset
    ContributorAuthor

    Closing in favor of #1384.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions