From f9c55a2971376b0c35c9ad7b6276d767ac12b2e4 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Tue, 22 Nov 2022 17:17:25 +0000 Subject: [PATCH] style: Exclude 'size' from the 'all' shorthand Differential Revision: https://phabricator.services.mozilla.com/D162568 --- components/style/properties/properties.mako.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 3b74300f92b..5a9dba9468a 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -169,6 +169,8 @@ pub mod shorthands { continue; if not p.enabled_in_content() and not p.experimental(engine): continue; + if "Style" not in p.rule_types_allowed_names(): + continue; if p.logical: logical_longhands.append(p.name) else: