W3C home > Mailing lists > Public > www-style@w3.org > September 2013

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

From: Simon Fraser <smfr@me.com>
Date: Mon, 23 Sep 2013 11:28:42 -0700
Cc: www-style list <www-style@w3.org>
Message-id: <14FAFFDE-FC93-4DB7-9701-1A74598C23B0@me.com>
To: Dirk Schulze <dschulze@adobe.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC