From 11fb2e644a819394215f2e1453a82a18db5dedd5 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 8 Feb 2018 17:26:23 -0800 Subject: [PATCH] Use restyle_damage=rebuild_and_reflow for list types --- components/style/properties/longhand/list.mako.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/style/properties/longhand/list.mako.rs b/components/style/properties/longhand/list.mako.rs index 87f57ba789c..3b330c9066f 100644 --- a/components/style/properties/longhand/list.mako.rs +++ b/components/style/properties/longhand/list.mako.rs @@ -7,7 +7,8 @@ <% data.new_style_struct("List", inherited=True) %> ${helpers.single_keyword("list-style-position", "outside inside", animation_value_type="discrete", - spec="https://drafts.csswg.org/css-lists/#propdef-list-style-position")} + spec="https://drafts.csswg.org/css-lists/#propdef-list-style-position", + servo_restyle_damage="rebuild_and_reflow")} // TODO(pcwalton): Implement the full set of counter styles per CSS-COUNTER-STYLES [1] 6.1: // @@ -47,7 +48,8 @@ ${helpers.predefined_type("list-style-image", initial_specified_value="specified::ListStyleImage::none()", animation_value_type="discrete", boxed=product == "gecko", - spec="https://drafts.csswg.org/css-lists/#propdef-list-style-image")} + spec="https://drafts.csswg.org/css-lists/#propdef-list-style-image", + servo_restyle_damage="rebuild_and_reflow")} ${helpers.predefined_type("quotes", "Quotes",