servo/components/style/values
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
..
computed Refactor Gradient 2017-05-15 15:36:15 +02:00
generics Refactor Gradient 2017-05-15 15:36:15 +02:00
specified Refactor Gradient 2017-05-15 15:36:15 +02:00
mod.rs Make no_viewport_percentage! use an absolute path for HasViewportPercentage 2017-05-11 14:24:03 +02:00