Re: [matrix][cssom-view] DOMPoint, DOMPointLiteral definitions

On Sep 22, 2013, at 12:22 AM, Dirk Schulze <dschulze@adobe.com> wrote:

> Hi,
> 
> I added the definitions of DOMPoint and DOMPointLiteral to DOMMatrix [1] for now. We may move it to CSSOM View or any other spec where it makes sense to define it. Please comment if you have concerns about the IDL or definitions.

Why do we need both DOMPoint and DOMPointLiteral?

Also, why are the members of DOMPoint (and DOMRect/DOMQuad) readonly? Do they have to be?

I think it should be easy for authors to move a DOMRect by assigning to its origin, for example.

Simon

Received on Monday, 23 September 2013 18:29:22 UTC