From ad22c7a3695c3df5f4ba4e64cd7d40a73b75d192 Mon Sep 17 00:00:00 2001 From: Brian Birtles Date: Wed, 22 Jul 2020 00:44:18 +0000 Subject: [PATCH] style: Allow animations and transitions on ::marker As per the following change to the spec: https://github.com/w3c/csswg-drafts/commit/6b3d7240b57aec90846c4b6b753bdc4bf7726c8c The additional failure annotation is added because we don't currently treat text-combine-upright as non-animatable and this patch exposes the existing bug (bug 1654195). Differential Revision: https://phabricator.services.mozilla.com/D84308 --- components/style/properties/data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/style/properties/data.py b/components/style/properties/data.py index b68d40e402f..f141160af1a 100644 --- a/components/style/properties/data.py +++ b/components/style/properties/data.py @@ -778,7 +778,9 @@ class PropertyRestrictions: "direction", "content", "-moz-osx-font-smoothing", - ] + PropertyRestrictions.spec(data, "css-fonts")) + ] + PropertyRestrictions.spec(data, "css-fonts") + + PropertyRestrictions.spec(data, "css-animations") + + PropertyRestrictions.spec(data, "css-transitions")) # https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element @staticmethod