- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 Feb 2023 23:32:32 +0000
- To: public-css-archive@w3.org
> @flackr you had some thoughts around this, but I can't remember what they were I 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. The main downsides I can think of are: - There are cases where the base value may not be relevant, e.g. if the animation has `fill: forwards` the base value will never take effect until the animation is removed. Similarly if the animation has infinite duration. - This is a bit of a new concept - the base style isn't usually something developers need to think about. -- GitHub Notification of comment by flackr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8389#issuecomment-1430529542 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 14 February 2023 23:32:34 UTC