servo/components/style/properties
bors-servo 1783e41f34
Auto merge of #20191 - jfkthame:font-shorthand-resets-variation-settings, r=emilio
style: Make 'font' shorthand reset 'font-variation-settings' property

As required by the spec: https://drafts.csswg.org/css-fonts-4/#font-prop

See https://bugzilla.mozilla.org/show_bug.cgi?id=1435983

Basically, make font-variation-settings work in the same way as font-feature-settings
already does.

- [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).

- [ ] There are tests for these changes OR
- [X] These changes do not require tests because font-variation-settings isn't supported in servo; it is implemented here for gecko/stylo, and will be tested by mozilla-central mochitests.

<!-- 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/20191)
<!-- Reviewable:end -->
2018-03-04 11:50:56 -05:00
..
helpers Never store a squared root in SquaredDistance 2018-03-04 02:10:44 +01:00
longhand style: Make 'font' shorthand reset the 'font-variation-settings' property. 2018-03-04 12:26:32 +00:00
shorthand style: Make 'font' shorthand reset the 'font-variation-settings' property. 2018-03-04 12:26:32 +00:00
build.py Kill RUSTC_HAS_PR45225 🎉 2018-03-01 14:47:57 +01:00
computed_value_flags.rs style: Cleanup StyleBuilder. 2018-02-03 18:07:25 +01:00
data.py style: Make 'font' shorthand reset the 'font-variation-settings' property. 2018-03-04 12:26:32 +00:00
declaration_block.rs style: Only expose longhands to rust via iterators. 2018-02-28 00:19:31 +01:00
gecko.mako.rs style: Fix text-emphasis-style conversion. 2018-03-03 18:22:27 +01:00
helpers.mako.rs style: Handle properly potentially-disabled longhands in a shorthand. 2018-02-28 12:04:49 +01:00
Mako-0.9.1.zip Revert "Remove mako.zip" 2016-09-04 12:52:30 +08:00
properties.html.mako Move Mako-related files into a new sub-directory. 2016-04-20 14:49:27 +02:00
properties.mako.rs Derive ToCss for DeclaredValue 2018-03-04 15:21:11 +01:00