From f8f02316011317aac6f709f258e24be97b1f1c40 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Wed, 15 Feb 2023 16:31:43 -0800 Subject: [PATCH] Implement CSSTransitionDiscrete which enables transitions on discrete properties. This feature enables transitioning discrete properties. This is based on the resolved CSSWG issue: - Transition discrete properties: https://github.com/w3c/csswg-drafts/issues/4441 You can test display transitions with this CL on: https://output.jsbin.com/buquher/quiet Original patch: http://crrev.com/c/4182089 Bug: 1399631, 1413556 Change-Id: Icf5364b970233186794fa9faaa016e0e6542ec2b --- .../discrete-no-interpolation.tentative.html | 967 ++++++++++++++++++ .../display-none-no-animations.html | 28 + 2 files changed, 995 insertions(+) create mode 100644 css/css-transitions/discrete-no-interpolation.tentative.html create mode 100644 css/css-transitions/display-none-no-animations.html diff --git a/css/css-transitions/discrete-no-interpolation.tentative.html b/css/css-transitions/discrete-no-interpolation.tentative.html new file mode 100644 index 000000000000000..98bc65973a0beb3 --- /dev/null +++ b/css/css-transitions/discrete-no-interpolation.tentative.html @@ -0,0 +1,967 @@ + + + + + + + + + diff --git a/css/css-transitions/display-none-no-animations.html b/css/css-transitions/display-none-no-animations.html new file mode 100644 index 000000000000000..32535baf9c7b1a2 --- /dev/null +++ b/css/css-transitions/display-none-no-animations.html @@ -0,0 +1,28 @@ + + + + + +
target
+ + +