Re: [csswg-drafts] [css-display] Interaction gotchas when delaying the effect of `display: none` (#8389)

> was thinking we could use the [base value of the display property](https://drafts.csswg.org/web-animations-1/#applying-the-composited-result:~:text=Calculate%20the-,base%20value%20of%20the%20property,-as%20the%20value). This is the value generated for the property in the absense of animations and is used as the [base value when compositing animations in web-animations-1](https://drafts.csswg.org/web-animations-1/#applying-the-composited-result). It would be `none` during these dismiss cases and immediately would become block in the show cases so it would do the right thing in simple cases.

Proposed initial resolution: apply the behavior @flackr suggests above regarding the base value. If there is enough developer demand in the future, consider adding `inert` at that time.

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


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

Received on Tuesday, 7 March 2023 19:34:58 UTC