servo/tests/unit/style
Simon Sapin daba02438d Upgrade to rustc 1.18.0-nightly (5f13a3b54 2017-04-15)
This version enables [struct field reordering][1] which brings the size
of the types for specified values of some CSS properties under the threshold
such that they shouldn’t be boxed anymore, making unit tests fail.

Simply unboxing them moves the test failure to Stylo’s unit tests,
since the stable compiler used in that case does not do field re-ordering.
Therefore, we manually reorder a couple fields to effectively bring this
optimization to older compilers for a few specific types.

[1]: https://github.com/rust-lang/rust/pull/40377
2017-04-15 14:00:00 +02:00
..
parsing SVG length parsing mode 2017-04-14 17:22:16 +08:00
properties Upgrade to rustc 1.18.0-nightly (5f13a3b54 2017-04-15) 2017-04-15 14:00:00 +02:00
rule_tree Support line number offsets for inline stylesheets 2017-04-13 19:36:49 -04:00
animated_properties.rs style: Unbox a bunch of color properties. 2017-02-14 20:18:31 +01:00
attr.rs account for sign in double parsing 2016-07-28 18:56:14 +01:00
Cargo.toml Update string-cache. 2017-04-07 13:38:40 +02:00
keyframes.rs Move all PropertyDeclarationBlock from RwLock<_> to Locked<_> 2017-03-19 22:30:38 +01:00
lib.rs Centralize ParserContext for tests 2017-04-14 17:22:14 +08:00
logical_geometry.rs Convert text-orientation to a Gecko-only property 2017-01-27 21:12:38 -08:00
media_queries.rs Support line number offsets for inline stylesheets 2017-04-13 19:36:49 -04:00
size_of.rs Run size_of tests with test-stylo. 2017-03-15 11:17:51 -07:00
str.rs Fix unused warning 2017-02-28 17:16:34 +01:00
stylesheets.rs Support line number offsets for inline stylesheets 2017-04-13 19:36:49 -04:00
stylist.rs Move all PropertyDeclarationBlock from RwLock<_> to Locked<_> 2017-03-19 22:30:38 +01:00
viewport.rs SVG length parsing mode 2017-04-14 17:22:16 +08:00