[csswg-drafts] [css-anchor-1] position-visibility show/hide animations (#10182)

progers has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-anchor-1] position-visibility show/hide animations ==
Many tooltips use an animation effect. An example is the tooltips here on github: if you hover over the notification icon in the top-right, an opacity 0->1 animation is used for the tooltip. A simple proposal for anchor positioning would be:
```
position-visibility-show-animation: [animation-name];
position-visibility-hide-animation: [animation-name];
```

The current spec for position visibility ([link](https://drafts.csswg.org/css-anchor-position-1/#position-visibility)) states that hidden anchors are [strongly hidden](https://drafts.csswg.org/css-anchor-position-1/#strongly-hidden). This would need to change so that it takes effect after the hide animation, and stop taking effect before the show-animation.

@tabatkins @una 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10182 using your GitHub account


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

Received on Monday, 8 April 2024 20:31:43 UTC