[webkit-dev] TransformAction event
Simon Fraser
simon.fraser at apple.com
Fri May 7 07:31:02 PDT 2010
On May 7, 2010, at 2:07 AM, kim.1.gronholm at nokia.com wrote:
> Subject: Re: [webkit-dev] TransformAction event
>
>>> The event contains the clientX/Y attributes that can be used as the
>>> origin point for the transforms.
>>
>> clientX and clientY are useless if the element being manipulated is nested
>> within CSS-transformed ancestors.
>>
>> You really need an offsetX/offsetY, which is local to the element.
>
> That's a good point and I agree 100%. I would also like to add pageX/Y
> coordinates as I find them quite useful to have, and remove screenX/Y
> coordinates which are pretty much useless. What do you think?
I think you should follow MouseEvent as closely as possible. It does
not have pageX/Y, but it does have screenX/Y. offsetX/Y is a non-standard
extension.
Simon
More information about the webkit-dev
mailing list