gecko-dev/servo/tests/unit/style
Zach Ploskey 7256c106ea servo: Merge #15604 - serialize font: to empty on non-default subprops (from zploskey:reset_font_shorthand_serialization); r=SimonSapin
Fixes font shorthand serialization so that it serializes to "" when non-default subproperties are defined. These subproperties are those defined in #15033.

Adds tests:
- font_should_serialize_to_empty_if_there_are_nondefault_subproperties
- font_should_serialize_all_available_properties

The second test was previously commented out and underwent some cleanup to make it run.

---
<!-- 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
- [X] These changes fix #15036

<!-- Either: -->
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: fbd561bc2fc2d5529f805c5ae07c04b3c343bc40

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8959c42e64687d29f982cfacf0ec4bd064b535d4
2017-03-19 08:26:43 -07:00
..
parsing servo: Merge #16024 - Add parsing/serialisation for 'grid-auto-flow' (from Wafflespeanut:gal); r=Wafflespeanut 2017-03-18 11:25:03 -07:00
properties servo: Merge #15604 - serialize font: to empty on non-default subprops (from zploskey:reset_font_shorthand_serialization); r=SimonSapin 2017-03-19 08:26:43 -07:00
rule_tree servo: Merge #15997 - Rearrange PropertyDeclaration to avoid embedding DeclaredValue (from bholley:rearrange_propdecl); r=mbrubeck 2017-03-16 14:48:53 -07:00
Cargo.toml servo: Merge #15766 - Update cssparser (from servo:cssparserup); r=Manishearth 2017-02-28 08:22:27 -08:00
animated_properties.rs servo: Merge #15518 - style: Unbox a bunch of color properties (from emilio:color); r=SimonSapin 2017-02-14 11:43:16 -08:00
attr.rs servo: Merge #12632 - account for sign in double parsing (from bobthekingofegypt:signed_parse_double); r=KiChjang 2016-07-28 16:56:43 -05:00
keyframes.rs servo: Merge #15997 - Rearrange PropertyDeclaration to avoid embedding DeclaredValue (from bholley:rearrange_propdecl); r=mbrubeck 2017-03-16 14:48:53 -07:00
lib.rs servo: Merge #15888 - style: Simplify style sharing code (from emilio:caching); r=Ms2ger 2017-03-09 11:33:33 -08:00
logical_geometry.rs servo: Merge #15268 - Make text-orientation:sideways-right an alias for sideways in Gecko (from mbrubeck:sideways); r=upsuper 2017-01-28 17:24:47 -08:00
media_queries.rs servo: Merge #15941 - style: Fix media query parsing when invalid queries are present (from emilio:media); r=heycam 2017-03-15 09:56:40 -07:00
owning_handle.rs servo: Merge #13759 - Implement OwningHandle in style (from bholley:owning_handle); r=SimonSapin 2016-10-14 10:42:10 -05:00
size_of.rs servo: Merge #15953 - Make size_of tests measure stylo and reduce the size of stylo PropertyDeclarations by 16 bytes (from bholley:size_of_stylo); r=Manishearth 2017-03-15 11:23:24 -07:00
str.rs servo: Merge #15766 - Update cssparser (from servo:cssparserup); r=Manishearth 2017-02-28 08:22:27 -08:00
stylesheets.rs servo: Merge #15997 - Rearrange PropertyDeclaration to avoid embedding DeclaredValue (from bholley:rearrange_propdecl); r=mbrubeck 2017-03-16 14:48:53 -07:00
stylist.rs servo: Merge #15997 - Rearrange PropertyDeclaration to avoid embedding DeclaredValue (from bholley:rearrange_propdecl); r=mbrubeck 2017-03-16 14:48:53 -07:00
value.rs servo: Merge #15115 - Introduce the `NoCalcLength` (from Wafflespeanut:lop); r=emilio 2017-01-28 14:08:38 -08:00
viewport.rs servo: Merge #15931 - style: Kill SharedStyleContext::default_computed_values (from emilio:die-defaultvalues-die); r=mbrubeck 2017-03-13 16:50:26 -07:00