Skip to content

Commit 60d2b16

Browse files
darrnshntabatkins
authored andcommitted
Use defaults for CSSMatrixComponentOptions (#613)
* Use defaults for CSSMatrixComponentOptions * Make is2D not required in CSSMatrixComponentOptions
1 parent 284ec32 commit 60d2b16

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

css-typed-om/Overview.bs

+3-4
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,7 @@ The <dfn for=CSSTransformValue>indexed getter</dfn> retrieves the transform comp
20832083
};
20842084

20852085
dictionary CSSMatrixComponentOptions {
2086-
boolean is2D;
2086+
boolean is2D = false;
20872087
};
20882088
</xmp>
20892089

@@ -2272,10 +2272,9 @@ The <dfn for=CSSTransformValue>indexed getter</dfn> retrieves the transform comp
22722272
with its {{CSSMatrixComponent/matrix}} internal slot
22732273
set to |matrix|.
22742274

2275-
2. If |options| was passed
2276-
and has a {{CSSMatrixComponentOptions}} field,
2275+
2. If |options| was passed,
22772276
set |this|’s {{CSSTransformValue/is2D}} internal slot
2278-
to the value of that field.
2277+
to the |option|'s {{CSSMatrixComponentOptions/is2D}} member.
22792278

22802279
3. Otherwise,
22812280
set |this|’s {{CSSTransformValue/is2D}} internal slot

0 commit comments

Comments
 (0)