Re: [css-houdini-drafts] Use defaults for CSSMatrixComponentOptions

@tabatkins Hi Tab, it appears that this changes behaviour in a way that I didn't expect.

Before, we had two possibilities:
1. Don't pass in `options`. `is2D` is inferred from `matrix.is2D`.
2. Pass in `options`. `is2D` is set to `options.is2D`.

It seems that with this change, the first possibility changes to:
1. Don't pass in `options`. `is2D` is `false` (the default value).

I didn't expect this because I thought `options` was an `optional` argument, we would still have the "infer" code path, but it looks like IDL magic has made it impossible.

Is this the intended behaviour? Or is this a bug with the Blink IDL?

-- 
GitHub Notification of comment by darrnshn
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/pull/613#issuecomment-365068281 using your GitHub account

Received on Monday, 12 February 2018 21:29:34 UTC