[webkit-dev] TransformAction event
kim.1.gronholm at nokia.com
kim.1.gronholm at nokia.com
Fri May 7 02:07:50 PDT 2010
________________________________________
From: ext Simon Fraser [simon.fraser at apple.com]
Sent: Thursday, May 06, 2010 7:09 PM
To: Gronholm Kim.1 (Nokia-D/Tampere)
Cc: mab2001 at gmail.com; webkit-dev at lists.webkit.org
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?
- Kim
> Simon
More information about the webkit-dev
mailing list