Contact emailsfla...@chromium.org, jar...@chromium.org Explainer https://github.com/w3c/csswg-drafts/issues/4441#issuecomment-1329749962
Specificationhttps://github.com/w3c/csswg-drafts/pull/8520 Summary Allows transitions of discrete properties to be started on properties explicitly listed in the transition-property list. These transitions run using the same logic as an animation on those properties performing a flip at 50% by default but can be customized through the use of the transitionstart event and web-animations-1 APIs for modifying transition animations. Blink componentBlink>Animation <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EAnimation> TAG reviewNone TAG review statusNot applicable Risks Interoperability and Compatibility This is unlikely to have a big compatibility risk since the transition-property: all keyword does not include discrete properties. This will only affect sites which have explicitly listed discrete properties in transition-property. However given this used to be unsupported, it is unlikely to have been specified on most sites. This will also now be doing what the developer requested. *Gecko*: No signal *WebKit*: No signal *Web developers*: No signals *Other signals*: Ergonomics This will be used in tandem with the popover attribute and CSSDisplayAnimation. This feature will not make it hard for chrome to maintain good performance. Activation This will not be hard for developers to use immediately. Security This does not do anything that the developer could not have set with their own stylesheets or script and shouldn't have any risks. WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? This is not high risk for WebView, but is controlled by a base::Feature anyway. Debuggability This feature would be consistent with existing CSS transitions, showing up the dev tools animation timeline and generating transition events. No new interfaces should be needed. Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?Yes Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes Flag nameCSSTransitionDiscrete Requires code in //chrome?False Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1399631 MeasurementThis feature does not have any UseCounters. Availability expectationI'm not sure when this will be implemented in safari and firefox. I don't think that they have started implementing this yet, but we only very recently got this resolved in CSSWG. Adoption expectationThis will be the best practice for animating the entry and exit if dialogs and popovers immediately. Adoption planI don't have an adoption plan. Non-OSS dependencies Does the feature depend on any code or APIs outside the Chromium open source repository and its open-source dependencies to function? This feature does not depend on anything outside of chromium. Sample linkshttps://output.jsbin.com/buquher/quiet Estimated milestones M114 Anticipated spec changes Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way). This change has been specced and I don't think any more changes to the spec will happen. Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5071230636392448 Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJh39TMR_5Tz3OHKo16aB3h6vqLKZBaHt3rh%2Bse454y-hT%2B1-A%40mail.gmail.com This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwLbQbDZYKA1VUVEHzFOk%3DVv9ER0vqsOG58GOD%3DBpRy3%2Bw%40mail.gmail.com.