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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4a2e2e9d65235f49d7b676e261e645cd69785723
This commit is contained in:
cku 2017-05-15 19:42:57 -05:00
Родитель 6d13ed70db
Коммит 4dc51e4bb0
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)
}
</%helpers:vector_longhand>