diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index 1f891666..3f33a55d 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -459,15 +459,13 @@ interface CSSTranslation : CSSTransformComponent { readonly attribute CSSLengthValue z; }; -[Constructor(double degrees), - Constructor(CSSAngleValue angle), - Constructor(double x, double y, double z, double degrees), +[Constructor(CSSAngleValue angle), Constructor(double x, double y, double z, CSSAngleValue angle)] interface CSSRotation : CSSTransformComponent { readonly attribute double x; readonly attribute double y; readonly attribute double z; - readonly attribute double angle; + readonly attribute CSSAngleValue angle; }; [Constructor(double x, double y), @@ -478,10 +476,10 @@ interface CSSScale : CSSTransformComponent { readonly attribute double z; }; -[Constructor(double ax, double ay)] +[Constructor(CSSAngleValue ax, CSSAngleValue ay)] interface CSSSkew : CSSTransformComponent { - readonly attribute double ax; - readonly attribute double ay; + readonly attribute CSSAngleValue ax; + readonly attribute CSSAngleValue ay; }; [Constructor(CSSLengthValue length)] @@ -517,17 +515,6 @@ and y & z values of 0 could be: -When a {{CSSRotation}} is constructed with a double (as opposed to a -{{CSSAngleValue}}), the angle is taken to be in degrees. - -
- CSSRotation(angle); - CSSRotation(CSSAngleValue(angle, "deg")); --
cssText
attribute. However, newly constructed {{CSSTransformValue}}s