Auto merge of #19105 - mstange:move-fsbgcolor, r=emilio`

Bug 1414147 - Move fontSmoothingBackgroundColor from nsStyleUserInterface to nsFont, stylo changes.

<!-- Please describe your changes on the following line: -->

This will need to land in concert with [bug 1414147](https://bugzilla.mozilla.org/show_bug.cgi?id=1414147). Please don't r+ until the patch in that bug has been r+ed.

---
<!-- 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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are required to make the Gecko build pass

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19105)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-11-05 08:22:24 -06:00 committed by GitHub
commit 42c8fd292a
3 changed files with 33 additions and 36 deletions

File diff suppressed because one or more lines are too long

View file

@ -2178,6 +2178,15 @@ ${helpers.single_keyword("-moz-osx-font-smoothing",
flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER", flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER",
animation_value_type="discrete")} animation_value_type="discrete")}
${helpers.predefined_type("-moz-font-smoothing-background-color",
"RGBAColor",
"RGBA::transparent()",
animation_value_type="AnimatedRGBA",
products="gecko",
gecko_ffi_name="mFont.fontSmoothingBackgroundColor",
internal=True,
spec="None (Nonstandard internal property)")}
${helpers.predefined_type("-moz-min-font-size-ratio", ${helpers.predefined_type("-moz-min-font-size-ratio",
"Percentage", "Percentage",
"computed::Percentage::hundred()", "computed::Percentage::hundred()",

View file

@ -181,14 +181,3 @@ ${helpers.predefined_type(
ignored_when_colors_disabled=True, ignored_when_colors_disabled=True,
products="gecko", products="gecko",
)} )}
${helpers.predefined_type(
"-moz-font-smoothing-background-color",
"RGBAColor",
"RGBA::transparent()",
animation_value_type="AnimatedRGBA",
products="gecko",
gecko_ffi_name="mFontSmoothingBackgroundColor",
internal=True,
spec="None (Nonstandard internal property)"
)}