[css-houdini-drafts] [css-typed-om] Describe what setting is2D on CSSTransformComponent should do

wilddamon has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] Describe what setting is2D on CSSTransformComponent should do ==
https://drafts.css-houdini.org/css-typed-om/#dom-csstransformcomponent-is2d

Should setting is2D to true clear out any 3D attributes on a component? For example:

```javascript
  let rotation = new CSSRotation(1, 2, 3, new CSSUnitValue(10, 'deg'));
  assert_false(rotation.is2D);
  assert_equals(rotation.z, 3);

  rotation.is2D = true;
  assert_true(rotation.is2D);
  assert_equals(rotation.z, 1);
```

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/414 using your GitHub account

Received on Monday, 19 June 2017 09:26:07 UTC