-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top Layer Animations #495
Comments
This would be easier to assess split up into 4 different proposals. |
@foolip @nairnandu Could you see about your team re-proposing this as four separate proposals, so we can discuss them separately. |
It's a lot of new concepts just to achieve a relatively simple outcome. I played around with these properties in Canary and found it all a bit overwhelming and confusing tbh. Particularly wanting different transitions for entry and exit seemed overly complex. |
Description
Top Layer Animations is a set of features which makes top layer elements, like
<dialog>
s and elements with thepopover
attribute animatable as they enter and exit the top layer:transition-behavior
CSS property: https://drafts.csswg.org/css-transitions-2/#transition-behavior-propertyoverlay
CSS property: https://drafts.csswg.org/css-position-4/#overlay@starting-style
CSS @ rule: https://drafts.csswg.org/css-transitions-2/#defining-before-change-style-the-starting-style-ruledisplay
property: https://drafts.csswg.org/css-display-4/#display-animationSupporting explainer: https://github.com/chrishtr/rendering/blob/master/entry-exit-animations.md
Now that the popover attribute and dialog element are being implemented and shipped in all browsers, these features are the next step in making them useful for web developers.
Specification
Multiple W3C CSSWG specs
Open Issues
No response
Tests
starting-style: https://wpt.fyi/results/css?label=master&label=experimental&aligned&q=starting-style
overlay: https://wpt.fyi/results/css/css-position/overlay
transition-behavior: https://wpt.fyi/results/css/css-transitions/parsing/transition-behavior.html
display animation: https://wpt.fyi/results/css/css-display/animations/display-interpolation.html
Current Implementations
Standards Positions
Gecko:
overlay
CSS property mozilla/standards-positions#777WebKit:
overlay
CSS property WebKit/standards-positions#169Browser bug reports
No bugs filed yet that I know of
Developer discussions
No response
Polls & Surveys
No response
Existing Usage
transition-behavior: https://chromestatus.com/metrics/css/timeline/popularity/766
starting-style: https://chromestatus.com/metrics/feature/timeline/popularity/4486
overlay: https://chromestatus.com/metrics/css/timeline/popularity/748
Workarounds
No response
Accessibility Impact
No response
Privacy Impact
No response
Other
No response
The text was updated successfully, but these errors were encountered: