servo/components/style/values/generics
Anthony Ramine abef5da9d8 Refactor Gradient
In a similar way to Position, now specified and computed gradients share
a common Gradient type defined in style::values::generics::image.

This allows us to reuse most code for many style traits like ToCss,
HasViewportPercentage and ToComputedValue.

The test changes are the fallout of the disappearance of AngleOrCorner::None,
which align our code to the spec for serialisation, where components that can
be omitted should be omitted.
2017-05-15 15:36:15 +02:00
..
basic_shape.rs Make ShapeSource generic 2017-04-25 17:42:02 +05:30
image.rs Refactor Gradient 2017-05-15 15:36:15 +02:00
mod.rs Introduce style::values::generics::image 2017-05-15 15:35:26 +02:00
position.rs Refactor Position 2017-05-10 16:56:01 +02:00