servo: Merge #16864 - Stylo: Change mask-repeat initial value from no-repeat to repeat (from CJKu:bug-1364273); r=heycam
authorcku <cku@mozilla.com>
Mon, 15 May 2017 19:42:57 -0500
changeset 406618 1b51aa9afd06b56998da103ae853db5cac04ad8f
parent 406617 2dc612bec44b88be0bf484a0e0b3901ada89481e
child 406619 3c20408d22193e9179d9b092b65f5ea9af54deaf
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs16864, 1364273
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #16864 - Stylo: Change mask-repeat initial value from no-repeat to repeat (from CJKu:bug-1364273); r=heycam <!-- Please describe your changes on the following line: --> Change mask-repeat initial value from no-repeat to repeat. Gecko bug link: https://bugzilla.mozilla.org/show_bug.cgi?id=1364273 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 5403c2fff0877ba8833262fde191a3e205ddd247
servo/components/style/properties/longhand/svg.mako.rs
--- a/servo/components/style/properties/longhand/svg.mako.rs
+++ b/servo/components/style/properties/longhand/svg.mako.rs
@@ -76,22 +76,22 @@
     pub use properties::longhands::background_repeat::single_value::parse;
     pub use properties::longhands::background_repeat::single_value::SpecifiedValue;
     pub use properties::longhands::background_repeat::single_value::computed_value;
     pub use properties::longhands::background_repeat::single_value::RepeatKeyword;
     use properties::longhands::background_repeat::single_value;
 
     #[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)
     }
 </%helpers:vector_longhand>
 
 % for (axis, direction) in [("x", "Horizontal"), ("y", "Vertical")]:
     ${helpers.predefined_type("mask-position-" + axis, "position::" + direction + "Position",
                               products="gecko", extra_prefixes="webkit",
                               initial_value="computed::LengthOrPercentage::zero()",
                               initial_specified_value="specified::PositionComponent::Center",