servo/components/style/values/generics
Emilio Cobos Álvarez f1b5d5c06a style: Cleanup and fix interpolation of SVG lengths.
Instead of storing them as LengthPercentage | Number, always store as
LengthPercentage, and use the unitless length quirk to parse numbers instead.

Further cleanups to use the rust representation can happen as a followup, which
will also get rid of the boolean argument (since we can poke at the rust length
itself). That's why I didn't bother to convert it to an enum class yet.

Differential Revision: https://phabricator.services.mozilla.com/D21804
2019-03-13 15:08:15 +01:00
..
background.rs style: Rustfmt recent changes. 2019-02-23 21:05:32 -08:00
basic_shape.rs style: Add a Zero trait that doesn't require Add, and use it in place of num_traits and IsZeroLength. 2019-03-13 15:08:14 +01:00
border.rs style: Add a Zero trait that doesn't require Add, and use it in place of num_traits and IsZeroLength. 2019-03-13 15:08:14 +01:00
box.rs style: Use Rust types for perspective and z-index. 2019-02-23 21:05:17 -08:00
color.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
column.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
counters.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
easing.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
effects.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
flex.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
font.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
gecko.rs style: Rename LengthOrPercentage to LengthPercentage. 2019-01-08 12:00:48 +01:00
grid.rs style: Use Rust sizes for flex-basis, width, height, and their min/max properties. 2019-02-23 21:02:18 -08:00
image.rs style: Rename LengthOrPercentage to LengthPercentage. 2019-01-08 12:00:48 +01:00
length.rs style: Add a Zero trait that doesn't require Add, and use it in place of num_traits and IsZeroLength. 2019-03-13 15:08:14 +01:00
mod.rs style: Add a Zero trait that doesn't require Add, and use it in place of num_traits and IsZeroLength. 2019-03-13 15:08:14 +01:00
position.rs style: Rustfmt recent changes. 2019-02-23 21:05:32 -08:00
rect.rs style: Use Rust lengths for margin / padding / inset. 2019-02-10 05:12:19 +01:00
size.rs style: Add a Zero trait that doesn't require Add, and use it in place of num_traits and IsZeroLength. 2019-03-13 15:08:14 +01:00
svg.rs style: Cleanup and fix interpolation of SVG lengths. 2019-03-13 15:08:15 +01:00
text.rs style: Use Rust types for some misc properties. 2019-02-23 21:04:33 -08:00
transform.rs style: Add a Zero trait that doesn't require Add, and use it in place of num_traits and IsZeroLength. 2019-03-13 15:08:14 +01:00
ui.rs Fix servo build and rustfmt recent changes. 2019-01-20 16:31:01 +01:00
url.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00