diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index 1f891666..56e448b1 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -478,7 +478,8 @@ interface CSSScale : CSSTransformComponent { readonly attribute double z; }; -[Constructor(double ax, double ay)] +[Constructor(double dx, double dy), + Constructor(CSSAngleValue ax, CSSAngleValue ay)] interface CSSSkew : CSSTransformComponent { readonly attribute double ax; readonly attribute double ay; @@ -518,7 +519,9 @@ 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. +{{CSSAngleValue}}), the angle is taken to be in degrees. Likewise, when +{{CSSSkew}} is constructed with doubles, both arguments are taken to be angles +in degrees.
+ CSSSkew(ax, ay); + CSSSkew(CSSAngleValue(ax, "deg"), CSSAngleValue(ay, "deg")); +