Skip to content

Commit 1e12492

Browse files
darrnshntabatkins
authored andcommitted
Revert back to no defaults for CSSMatrixComponentOptions.is2D (#692)
1 parent 1a84910 commit 1e12492

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css-typed-om/Overview.bs

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

22452245
dictionary CSSMatrixComponentOptions {
2246-
boolean is2D = false;
2246+
boolean is2D;
22472247
};
22482248
</xmp>
22492249

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

2504-
2. If |options| was passed,
2504+
2. If |options| was passed
2505+
and has a {{CSSMatrixComponentOptions/is2D}} field,
25052506
set |this|’s {{CSSTransformValue/is2D}} internal slot
2506-
to the |options|'s {{CSSMatrixComponentOptions/is2D}} member.
2507+
to the value of that field.
25072508

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

0 commit comments

Comments
 (0)