Skip to content

Support transition-behaviour for display and content-visibility #1384

Open

Description

@mariusGundersen

Description

This is support for animating the visibility of an object, which is very useful to transition the disappearance of an element.

This was proposed last year, but not selected: #1112

Specification

https://drafts.csswg.org/css-display-4/#display-animation

web-feature

https://web-platform-dx.github.io/web-features-explorer/features/display-animation/

Test Links

https://wpt.fyi/results/?q=feature:display-animation

Additional Signals

Activity

  1. github-actions commented on Sep 9, 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. phantomxx29474 commented on Sep 9, 2026

    @phantomxx29474

    Firefox have been working on a prototype for animating display and content-visibility animations in their group.
    Source: https://groups.google.com/a/mozilla.org/g/dev-platform/c/VPL2DbXUu7c

  3. mfreed7 commented on Oct 2, 2026

    @mfreed7

    So the other related issue (#1456) was clear that the overlay property is explicitly not covered, but this issue is less clear. Can we be explicit that this issue does not cover the overlay property?

  4. phantomxx29474 commented on Oct 3, 2026

    @phantomxx29474

    We should also include the overlay property as well.

  5. captainbrosset commented on Oct 5, 2026

    @captainbrosset
    Contributor

    We should also include the overlay property as well.

    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.

    I agree with @mfreed7 that this proposal should exclude the overlay property, and only focus on animating display and content-visibility, which is the final platform gap that will make top layer elements, like elements, or elements with the popover attribute, animatable as they enter and exit the top layer.

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