diff --git a/components/style/properties/longhand/list.mako.rs b/components/style/properties/longhand/list.mako.rs index b62e7222cb8..9f19d80aec7 100644 --- a/components/style/properties/longhand/list.mako.rs +++ b/components/style/properties/longhand/list.mako.rs @@ -6,7 +6,8 @@ <% data.new_style_struct("List", inherited=True) %> -${helpers.single_keyword("list-style-position", "outside inside", animatable=False)} +${helpers.single_keyword("list-style-position", "outside inside", animatable=False, + spec="https://drafts.csswg.org/css-lists/#propdef-list-style-position")} // TODO(pcwalton): Implement the full set of counter styles per CSS-COUNTER-STYLES [1] 6.1: // @@ -24,12 +25,15 @@ ${helpers.single_keyword("list-style-type", """ cjk-heavenly-stem lower-greek hiragana hiragana-iroha katakana katakana-iroha lower-alpha upper-alpha""", gecko_constant_prefix="NS_STYLE_LIST_STYLE", - animatable=False)} + animatable=False, + spec="https://drafts.csswg.org/css-lists/#propdef-list-style-type")} ${helpers.predefined_type("list-style-image", "UrlOrNone", "Either::Second(None_)", - animatable="False")} + animatable="False", + spec="https://drafts.csswg.org/css-lists/#propdef-list-style-image")} -<%helpers:longhand name="quotes" animatable="False"> +<%helpers:longhand name="quotes" animatable="False" + spec="https://drafts.csswg.org/css-content/#propdef-quotes"> use cssparser::Token; use std::borrow::Cow; use std::fmt; diff --git a/components/style/properties/shorthand/list.mako.rs b/components/style/properties/shorthand/list.mako.rs index f425c71c9f7..95b27da2a81 100644 --- a/components/style/properties/shorthand/list.mako.rs +++ b/components/style/properties/shorthand/list.mako.rs @@ -5,7 +5,8 @@ <%namespace name="helpers" file="/helpers.mako.rs" /> <%helpers:shorthand name="list-style" - sub_properties="list-style-image list-style-position list-style-type"> + sub_properties="list-style-image list-style-position list-style-type" + spec="https://drafts.csswg.org/css-lists/#propdef-list-style"> use properties::longhands::{list_style_image, list_style_position, list_style_type}; use values::{Either, None_};