Jorge Chamorro wrote:
> I've modified my old, hyper-forked copy of iui.js

Another hyper-forked copy of iui.js, eh?  One of the major goals of 
version 0.40 is to reduce the need to fork your iui.js.


>  to use transitions  
> using the "left" property just to find out that it works fine in the  
> desktiop Safaris but not at all on the iPhones.


I wish I had $1 for every hour that I and other developers have spent 
trying to make transitions work with the left property.  :(

>  I wrote this little  
> code snippet in order to be able to tell at runtime whether "left" is  
> "transitionable" or not :
>
>
>   

A duck test!  Cool!

> I've seen that your code infers it from the presence of (typeof  
> WebKitCSSMatrix == "object"), but that won't tell you about the  
> "transitionability" of a certain property in particular.
>   


True.   This test isn't ideal, but it is lightweight and results in the 
correct behavior.

> Where's a doc telling exactly what properties can be animated on the  
> iPhone ?
>   


I think that answer's been provided on this thread.  If  not, I'll look 
for a link after reading the rest of the thread.

-- Sean


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to