OLD | NEW |
---|---|
(Empty) | |
1 // https://drafts.css-houdini.org/css-typed-om-1/#anglevalue-objects | |
2 | |
3 enum CSSAngleUnit { | |
4 "deg", "rad", "grad", "turn" | |
5 }; | |
6 | |
7 [ | |
8 Constructor(double value, CSSAngleUnit unit), | |
9 Exposed=(Window,PaintWorklet), | |
10 RuntimeEnabled=CSSTypedOM | |
11 ] interface CSSAngleValue : CSSStyleValue { | |
12 readonly attribute double degrees; | |
13 readonly attribute double radians; | |
14 readonly attribute double gradians; | |
15 readonly attribute double turns; | |
16 }; | |
OLD | NEW |