[webkit-dev] CSS Transforms implementation?

Rob Kroeger rjkroege at liqui.org
Thu Feb 19 07:54:23 PST 2009


Hi Simon,

On Wed, Feb 18, 2009 at 11:27 AM, Simon Fraser <simon.fraser at apple.com>wrote:

> On Feb 18, 2009, at 8:09 AM, Rob Kroeger wrote:
>
> Is it the intent of WebKit team to implement CSS transform specification (
> http://webkit.org/specs/CSSVisualEffects/CSSTransforms.html).  I can't
> find much of it in the code yet and was wondering if this is because the
> features aren't written yet? (I found WebKitCSSMatrix but none of convertPointFromNodeToPage
> and its friends seem to exist in the code (as of Monday of this week at
> least).
>
>
> The CSS properties described in the spec are fully implemented in WebKit,
> as is CSSMatrix (called WebKitCSSMatrix in the source).
>
> convertPointFromNodeToPage is not yet implemented, but we plan to do that
> soon.
>

Sweet.


>
> I also have a comment about the specification. Would it be reasonable to
> add a point property to all mouse (and probably touch) events?
>
>
> I'll leave it for others to say if it's reasonable, but I assume you'd like
> to see event.pagePoint and perhaps event.nodePoint? I think it's unlikely
> that we would do this any time soon, and extremely unlikely for it to be
> standardized.
>

Perhaps I'm gilding the lily overmuch but it would seem very convenient to
do this rather than constructing Point objects from the event. What about
letting convertPointFromNodeToPage and convertPointFromPageToNode capable of
taking an event or a Point object?

As for it not being standardized, that's totally fine -- both personally and
in my day job, I write only against WebKit-based browsers.

Rob.


>
>
>


-- 
Rob Kroeger
rjkroege at liqui.org
http://www.liqui.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090219/a310a6f2/attachment.html>


More information about the webkit-dev mailing list