servo/components/style/values/generics
Emilio Cobos Álvarez 42def5a011
style: Always compute angle values to degrees.
This matches the spec, https://drafts.csswg.org/css-values/#angles, which says:

> All <angle> units are compatible, and deg is their canonical unit.

And https://drafts.csswg.org/css-values/#compat, which says:

>When serializing computed values [...], compatible units [...] are converted into a single canonical unit.

And also other implementations (Blink always serializes angles as degrees in
computed style for example).

Also allows us to get rid of quite a bit of code, and makes computed angle value
representation just a number, which is nice.

Differential Revision: https://phabricator.services.mozilla.com/D8619
2018-10-19 00:35:22 +02:00
..
background.rs Format style component. 2018-09-09 16:24:45 +02:00
basic_shape.rs Format style component. 2018-09-09 16:24:45 +02:00
border.rs Format style component. 2018-09-09 16:24:45 +02:00
box.rs Format style component. 2018-09-09 16:24:45 +02:00
color.rs style: Correct background/foreground ratio mixing. 2018-07-16 19:44:04 +02:00
column.rs Format style component. 2018-09-09 16:24:45 +02:00
counters.rs Format style component. 2018-09-09 16:24:45 +02:00
effects.rs style: Teach ComputeSquaredDistance derive about #[animation(constant)]. 2018-09-15 17:56:41 +02:00
flex.rs Format style component. 2018-09-09 16:24:45 +02:00
font.rs style: Teach ComputeSquaredDistance derive about #[animation(constant)]. 2018-09-15 17:56:41 +02:00
gecko.rs Format style component. 2018-09-09 16:24:45 +02:00
grid.rs Format style component. 2018-09-09 16:24:45 +02:00
image.rs Format style component. 2018-09-09 16:24:45 +02:00
mod.rs Format style component. 2018-09-09 16:24:45 +02:00
position.rs Format style component. 2018-09-09 16:24:45 +02:00
rect.rs Format style component. 2018-09-09 16:24:45 +02:00
size.rs Format style component. 2018-09-09 16:24:45 +02:00
svg.rs Format style component. 2018-09-09 16:24:45 +02:00
text.rs Format style component. 2018-09-09 16:24:45 +02:00
transform.rs style: Always compute angle values to degrees. 2018-10-19 00:35:22 +02:00
ui.rs style: Merge the two scrollbar color properties into scrollbar-color. 2018-09-22 17:53:15 +02:00
url.rs Format style component. 2018-09-09 16:24:45 +02:00