Re: [csswg-drafts] [css-animations-2, css-transitions-2] Entry and exit animations for top-layer elements (#8189)

I propose that we move forward with a new `overlay-behavior` CSS property specified according to the rules described [here](https://github.com/w3c/csswg-drafts/issues/8189#issuecomment-1447989290) (except with change of property name of course) and with syntax like this:

`overlay-behavior: auto | none`

* Auto would mean "keep in the top layer except when force-ejected by the UA". None is a no-op from regular behavior.
* The default is "none".
* UAs can force-remove an element in situations like an animation taking too long to complete.

There is the following UA rule:

```
* {
  overlay-behavior: none !important;
}
```

Note: the only way to override such a UA rule is with `transition: overlay-behavior`.

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


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

Received on Friday, 10 March 2023 22:31:48 UTC