Skip to content

Commit 0d8a0ff

Browse files
committed
Switch CSSTransformValue.matrix to a method. Fixes w3c#392.
1 parent f253ec5 commit 0d8a0ff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-typed-om/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ which represent individual <<transform-function>> values.
12951295
interface CSSTransformValue : CSSStyleValue {
12961296
/*arraylike<CSSTransformComponent>;*/
12971297
readonly attribute boolean is2D;
1298-
readonly attribute DOMMatrixReadOnly matrix;
1298+
DOMMatrix toMatrix();
12991299
};
13001300
</xmp>
13011301

@@ -1323,9 +1323,9 @@ is a [=list=] of {{CSSTransformComponent}}s.
13231323
the attribute returns `false`.
13241324
</div>
13251325

1326-
<div algorithm="CSSTransformValue.matrix">
1327-
The <dfn attribute for=CSSTransformValue>matrix</dfn> attribute of a {{CSSTransformValue}} |this| must,
1328-
on getting,
1326+
<div algorithm="CSSTransformValue.toMatrix()">
1327+
The <dfn attribute for=CSSTransformValue>toMatrix()</dfn> method of a {{CSSTransformValue}} |this| must,
1328+
when called,
13291329
perform the following steps:
13301330

13311331
1. Let |matrix| be a 4x4 matrix,
@@ -1335,7 +1335,7 @@ is a [=list=] of {{CSSTransformComponent}}s.
13351335
set |matrix| to the result of multiplying |matrix|
13361336
and |func|’s equivalent 4x4 transform matrix.
13371337

1338-
3. Return a new {{DOMMatrixReadOnly}}
1338+
3. Return a new {{DOMMatrix}}
13391339
representing |matrix|.
13401340
</div>
13411341

0 commit comments

Comments
 (0)