Hi, The event contains the clientX/Y attributes that can be used as the origin point for the transforms. Whether those are used or the center of the element, is completely up to the web developer. The transforms are not applied to the elements by the user agent.
This does not affect the layout of the dom as the user agent just dispatches the event. The web developer may choose to alter the layout as a result of this event if he/she wants to do so. The simple example in the proposal uses CSS3 transforms that don't affect the layout. Br, Kim Grönholm ________________________________________ From: ext Mike Barborak [mab2...@gmail.com] Sent: Thursday, May 06, 2010 2:03 PM To: Gronholm Kim.1 (Nokia-D/Tampere) Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] TransformAction event i'm a bit of a lurker on this mailing list so i apologize for butting in. i do see a few points to address here. first, how do you set the point around which the scale and rotate operations will act? typically you would want that to be the center of the element but not always. if it is something you can set explicitly, what happens as that point is changed? does that cause the transform to be re-applied or not? second, does this not affect the layout of the dom? that is, is such a transformed element laid out as if scale, rotation and translation were 1, 0 and (0,0) and then those transforms applied? if so, would the z index of the element be affected or would the user use this technique in conjunction with the z-index style to ensure the scaled and rotated element were above surrounding elements? Mike Barborak CTO barbo...@frontalcode.com ------------------------------------ Frontal 1201 Broadway, #704 New York, NY 10001 cell: 646 263 7029 www.frontalcode.com ------------------------------------ Recently Created w/ Frontal: www.largavista.com www.romanthomas.com On Thu, May 6, 2010 at 1:55 AM, <kim.1.gronh...@nokia.com> wrote: > Hello Everyone, > > We at Nokia have been working on a new DOM-event called TransformAction. It > provides a convenient API for direct manipulation (pan, rotate, zoom) of an > element. Some of You have already heard about this and been involved in > specifying the event. > > We are planning to propose it to the W3C for standardization and meantime > start upstreaming the patches to WebKit if it's accepted by You. > > A draft of the proposal/specification is available here: > http://portaali.org/~ilkkao/w3c/manipulate/Transformaction.html > > We are happy to answer any questions You might have about the event. Please > give us Your comments. > > Thanks, > Kim Grönholm > _______________________________________________ > webkit-dev mailing list > webkit-dev@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev