From 6ba23fe58a2812ec3bbcece2d3ed048d2caecd1d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 8 Feb 2018 16:44:52 -0800 Subject: [PATCH] Set damage for min/max width/height to reflow_and_bubble --- components/style/properties/longhand/position.mako.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/style/properties/longhand/position.mako.rs b/components/style/properties/longhand/position.mako.rs index 148cbc56bc4..9f6db93f870 100644 --- a/components/style/properties/longhand/position.mako.rs +++ b/components/style/properties/longhand/position.mako.rs @@ -235,6 +235,7 @@ ${helpers.predefined_type("order", "Integer", "0", allow_quirks=not logical, spec=spec % size, animation_value_type="MozLength", + servo_restyle_damage = "reflow" )} ${helpers.predefined_type( "max-%s" % size, @@ -245,6 +246,7 @@ ${helpers.predefined_type("order", "Integer", "0", allow_quirks=not logical, spec=spec % size, animation_value_type="MaxLength", + servo_restyle_damage = "reflow" )} % else: // servo versions (no keyword support) @@ -263,7 +265,8 @@ ${helpers.predefined_type("order", "Integer", "0", spec=spec % ("min-%s" % size), animation_value_type="ComputedValue", logical=logical, - allow_quirks=not logical)} + allow_quirks=not logical, + servo_restyle_damage = "reflow")} ${helpers.predefined_type("max-%s" % size, "LengthOrPercentageOrNone", "computed::LengthOrPercentageOrNone::None", @@ -271,7 +274,8 @@ ${helpers.predefined_type("order", "Integer", "0", spec=spec % ("min-%s" % size), animation_value_type="ComputedValue", logical=logical, - allow_quirks=not logical)} + allow_quirks=not logical, + servo_restyle_damage = "reflow")} % endif % endfor