Re: [csswg-drafts] [css-position-4] Consider removing the overlay property (#13200)

> Wouldn’t this break existing demos that use snippets such as this one here (swiped from [this article](https://developer.chrome.com/blog/entry-exit-animations))?
> 
> .card {
>   transition: opacity 0.5s, display 0.5s, overlay 0.5s;
>   transition-behavior: allow-discrete; /* Note: be sure to write this after the shorthand */
> }
> Perhaps a tweak could be that the property is allowed in such declarations, but no longer mandatory for the effect to work?

All of the demos there still work, I verified with my prototype patch to remove the overlay property. The transition shorthand seems to still work just fine even if you have a property in it that doesn't exist.

Existing sites using overlay shouldn't need to change, they will just keep working as-is.

-- 
GitHub Notification of comment by josepharhar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13200#issuecomment-3638879545 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 December 2025 20:40:15 UTC