From 120e23abfd279ac3467058f2748c79e50b536754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 4 Mar 2025 15:33:14 +0000 Subject: [PATCH] Relax a bit the requirements of animation-only traversals. The whole animation-only traversal thing is quite messy, but it can generally no longer assert that it only deals with already-styled subtrees, since we want to make display animatable. Make it more in line with the regular traversal, in order not to leave the tree in an inconsistent state (an element with display != none that has unstyled children), which the frame constructor complains about (rightfully so). Differential Revision: https://phabricator.services.mozilla.com/D240307 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1941651 gecko-commit: 52430cf390952929710e421e7bb9be13d1608f77 gecko-reviewers: dshin --- ...splay-via-custom-prop-animation-crash.html | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 css/css-animations/display-via-custom-prop-animation-crash.html diff --git a/css/css-animations/display-via-custom-prop-animation-crash.html b/css/css-animations/display-via-custom-prop-animation-crash.html new file mode 100644 index 00000000000000..8ea697a98680cf --- /dev/null +++ b/css/css-animations/display-via-custom-prop-animation-crash.html @@ -0,0 +1,30 @@ + + + + +
+
+
+