servo/components/style
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
..
counter_style Derive ToCss for Symbol 2018-03-03 16:15:19 +01:00
gecko style: Make 'font' shorthand reset the 'font-variation-settings' property. 2018-03-04 12:26:32 +00:00
gecko_bindings Replace ColorOrAuto by CaretColor 2018-02-28 10:25:59 +01:00
gecko_string_cache style: Optimize serialization of identifiers of length <= 16 🐉🐲 2018-02-07 17:34:22 +01:00
invalidation style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
properties Auto merge of #20191 - jfkthame:font-shorthand-resets-variation-settings, r=emilio 2018-03-04 11:50:56 -05:00
rule_tree style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
servo style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
sharing style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
stylesheets Derive ToCss for ViewportLength 2018-03-03 16:15:24 +01:00
values Auto merge of #20191 - jfkthame:font-shorthand-resets-variation-settings, r=emilio 2018-03-04 11:50:56 -05:00
animation.rs style: Only expose longhands to rust via iterators. 2018-02-28 00:19:31 +01:00
applicable_declarations.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
attr.rs Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
author_styles.rs style: Make XBL / Shadow DOM use something more light-weight than a Stylist. 2018-02-16 13:42:36 +01:00
bezier.rs Don't use Point2D<f32> for cubic curves anymore 2017-07-19 10:19:41 +02:00
bloom.rs style: Remove get_ prefix from get_state and get_id. 2018-02-24 22:45:42 +01:00
build.rs Kill RUSTC_HAS_PR45225 🎉 2018-03-01 14:47:57 +01:00
build_gecko.rs Reland #20160 since it just needed a revendor that didn't happen automatically. 2018-03-02 14:42:45 +01:00
Cargo.toml style: Update bindgen to 0.33. 2018-03-02 18:45:12 +01:00
context.rs style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
custom_properties.rs style: Use debug_assert_eq!. 2018-02-05 13:02:54 +01:00
data.rs Add layout RPC query for getting an element's style 2018-01-28 10:59:45 +01:00
dom.rs style: Add also a containing_shadow API. 2018-03-03 23:52:50 +01:00
dom_apis.rs selectors: Remove the get_ prefix from get_local_name and get_namespace. 2018-02-24 22:45:38 +01:00
driver.rs Remove traversal telemetry 2018-02-08 03:04:34 -08:00
element_state.rs style: Remove :unsolved pseudo-class 2018-01-10 17:20:06 +08:00
encoding_support.rs Use encoding-rs instead of rust-encoding for CSS parsing 2017-10-31 19:08:43 +01:00
error_reporting.rs stylo: Fix missing null terminators in error reporting code. 2018-01-31 17:49:15 +01:00
font_face.rs style: Make 'font' shorthand reset the 'font-variation-settings' property. 2018-03-04 12:26:32 +00:00
font_metrics.rs Avoid debug serialization of PropertyDeclaration & co in release builds. 2018-01-15 17:24:27 -08:00
hash.rs style: Back out ordermap. 2018-02-12 12:20:46 +01:00
lib.rs style: Make XBL / Shadow DOM use something more light-weight than a Stylist. 2018-02-16 13:42:36 +01:00
logical_geometry.rs Use specific assertion for style logical geometry 2018-01-26 01:30:31 +08:00
macros.rs Kill AnimatedValueAsComputed 2018-02-10 16:31:47 +01:00
matching.rs style: Remove useless dereferencing. 2018-02-24 23:26:55 +01:00
media_queries.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
parallel.rs style: Indent properly a couple more functions. 2018-02-24 23:23:16 +01:00
parser.rs style: Trivially cleanup length parsing. 2018-02-16 16:04:19 +01:00
README.md
rule_cache.rs Skip rule node which contains only inherited properties for rule cache. 2018-01-05 11:29:01 +11:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
selector_parser.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
shared_lock.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
str.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
style_adjuster.rs style: Handle correctly nested links. 2018-02-03 20:45:56 +01:00
style_resolver.rs style: Remove the get_ prefix from get_smil_override, and other animation stuff. 2018-02-24 22:45:41 +01:00
stylesheet_set.rs Add sizeof for AuthorStyles. 2018-02-19 15:12:13 +11:00
stylist.rs style: Make Element::id not clone the attribute. 2018-02-24 22:45:43 +01:00
thread_state.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
timer.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
traversal.rs style: Cleanup always-false argument to Servo_ResolveStyleLazily. 2018-02-20 12:59:21 +01:00
traversal_flags.rs style: Get rid of unstyled children only traversals. 2017-11-20 08:24:08 +01:00

servo-style

Style system for Servo, using rust-cssparser for parsing.