Skip to content

Commit

Permalink
Use defaults for CSSMatrixComponentOptions (#613)
Browse files Browse the repository at this point in the history
* Use defaults for CSSMatrixComponentOptions

* Make is2D not required in CSSMatrixComponentOptions
  • Loading branch information
darrnshn authored and tabatkins committed Jan 30, 2018
1 parent 284ec32 commit 60d2b16
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions css-typed-om/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ The <dfn for=CSSTransformValue>indexed getter</dfn> retrieves the transform comp
};

dictionary CSSMatrixComponentOptions {
boolean is2D;
boolean is2D = false;
};
</xmp>

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

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

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

0 comments on commit 60d2b16

Please sign in to comment.