mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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 |
||
---|---|---|
.. | ||
arc_types.rs | ||
conversions.rs | ||
data.rs | ||
global_style_data.rs | ||
media_features.rs | ||
media_queries.rs | ||
mod.rs | ||
non_ts_pseudo_class_list.rs | ||
pseudo_element.rs | ||
pseudo_element_definition.mako.rs | ||
regen_atoms.py | ||
restyle_damage.rs | ||
rules.rs | ||
selector_parser.rs | ||
snapshot.rs | ||
snapshot_helpers.rs | ||
traversal.rs | ||
url.rs | ||
values.rs | ||
wrapper.rs |