From 373307f9c2a30adac319571252499050329ac7ad Mon Sep 17 00:00:00 2001 From: cku Date: Mon, 15 May 2017 15:29:56 +0800 Subject: [PATCH] Stylo: Change mask-repeat initial value from no-repeat to repeat. --- components/style/properties/longhand/svg.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/properties/longhand/svg.mako.rs b/components/style/properties/longhand/svg.mako.rs index c1327a6ca2ed..66292b2743d9 100644 --- a/components/style/properties/longhand/svg.mako.rs +++ b/components/style/properties/longhand/svg.mako.rs @@ -81,12 +81,12 @@ ${helpers.single_keyword("mask-mode", #[inline] pub fn get_initial_value() -> computed_value::T { - computed_value::T(RepeatKeyword::NoRepeat, RepeatKeyword::NoRepeat) + computed_value::T(RepeatKeyword::Repeat, RepeatKeyword::Repeat) } #[inline] pub fn get_initial_specified_value() -> SpecifiedValue { - SpecifiedValue::Other(RepeatKeyword::NoRepeat, None) + SpecifiedValue::Other(RepeatKeyword::Repeat, None) }