Skip to content

Commit c35ec00

Browse files
committed
[css-typed-om] Move DOMMatrix from TransformComponent to MatrixComponent, make mutable.
Fixes #352.
1 parent 3bf00b3 commit c35ec00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-typed-om/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,6 @@ interface CSSTransformValue : CSSStyleValue {
500500
interface CSSTransformComponent {
501501
readonly attribute DOMString cssText;
502502
readonly attribute boolean is2D;
503-
readonly attribute DOMMatrixReadOnly matrix;
504503
};
505504

506505
[Constructor(CSSLengthValue x, CSSLengthValue y),
@@ -541,6 +540,7 @@ interface CSSPerspective : CSSTransformComponent {
541540

542541
[Constructor(DOMMatrixReadOnly matrix)]
543542
interface CSSMatrixComponent : CSSTransformComponent {
543+
attribute DOMMatrix matrix;
544544
};
545545
</pre>
546546

@@ -583,7 +583,7 @@ will always generate <code>cssText</code> according to the following rules:
583583
employing the 3D version of the relevant transform function (translate3d,
584584
rotate3d, scale3d).
585585
* {{CSSMatrixComponent}} objects are constructed around a {{DOMMatrixReadOnly}}, and
586-
well serialize to a matrix function if the contained {{DOMMatrixReadOnly}}'s
586+
will serialize to a matrix function if the contained {{DOMMatrixReadOnly}}'s
587587
{{DOMMatrixReadOnly/is2D}} attribute is false, and a matrix3d function
588588
otherwise.
589589

0 commit comments

Comments
 (0)