[css-houdini-drafts] [css-typed-om] Returning a new object on every get from an attribute is bad

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

== [css-typed-om] Returning a new object on every get from an attribute is bad ==
https://drafts.css-houdini.org/css-typed-om/#dom-csstransformvalue-matrix says, in step 3:

> Return a new DOMMatrixReadOnly representing matrix.

This is not something that an attribute getter should be doing.  This should be a method instead.

@domenic



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

Received on Tuesday, 18 April 2017 03:41:20 UTC