@@ -464,9 +464,7 @@ interface CSSTranslation : CSSTransformComponent {
464464 readonly attribute CSSLengthValue z;
465465};
466466
467- [Constructor(double degrees),
468- Constructor(CSSAngleValue angle),
469- Constructor(double x, double y, double z, double degrees),
467+ [Constructor(CSSAngleValue angle),
470468 Constructor(double x, double y, double z, CSSAngleValue angle)]
471469interface CSSRotation : CSSTransformComponent {
472470 readonly attribute double x;
@@ -483,8 +481,7 @@ interface CSSScale : CSSTransformComponent {
483481 readonly attribute double z;
484482};
485483
486- [Constructor(double dx, double dy),
487- Constructor(CSSAngleValue ax, CSSAngleValue ay)]
484+ [Constructor(CSSAngleValue ax, CSSAngleValue ay)]
488485interface CSSSkew : CSSTransformComponent {
489486 readonly attribute CSSAngleValue ax;
490487 readonly attribute CSSAngleValue ay;
@@ -523,24 +520,6 @@ and y & z values of 0 could be:
523520
524521</div>
525522
526- When a {{CSSRotation}} is constructed with a double (as opposed to a
527- {{CSSAngleValue}} ), the angle is taken to be in degrees. Likewise, when
528- {{CSSSkew}} is constructed with doubles, both arguments are taken to be angles
529- in degrees.
530-
531- <div class=note>
532- The following two CSSRotations are equivalent:
533- <pre class='lang-javascript'>
534- CSSRotation(angle);
535- CSSRotation(CSSAngleValue(angle, "deg"));
536- </pre>
537- Likewise, the following two CSSSkews are equivalent:
538- <pre class='lang-javascript'>
539- CSSSkew(ax, ay);
540- CSSSkew(CSSAngleValue(ax, "deg"), CSSAngleValue(ay, "deg"));
541- </pre>
542- </div>
543-
544523When a {{CSSTransformValue}} is read from a {{StylePropertyMap}} , each
545524{{CSSTransformComponent}} will maintain the relevant transform function in
546525its <code> cssText</code> attribute. However, newly constructed {{CSSTransformValue}} s
0 commit comments