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

Re: Transformed Pointer Coordinates?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Feb 2013 20:28:09 -0800
Message-ID: <CAAWBYDD1TC0iPiRjR_w6YSCA-nAm1YnjLN2LRnMQnu9BvFpqMQ@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: Hans Muller <hmuller@adobe.com>, Jacob Rossi <Jacob.Rossi@microsoft.com>, Simon Fraser <smfr@me.com>, Doug Schepers <schepers@w3.org>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>, "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
On Wed, Feb 13, 2013 at 7:40 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> We could add an optional enum parameter to specify which CSS box(es) to use
> --- e.g. "border", "padding", "content", defaulting to "border". This would
> be ignored on non-element sources and destinations. Converting event
> coordinates to canvas coordinates would then be as simple as
>   var pt = convertPointFromNode(document, {x:event.clientX,
> y:event.clientY}, "content");


Received on Thursday, 14 February 2013 04:28:57 UTC

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