Saturday, June 30, 2012

Re: CSS3 Transforms

Odd, I just checked and the syntax works for me (manually inserted) in FF13. Does Firebug even show these CSS properties applied?

Also, just a tip, but it would be easier if you built the property value string once, and then iterated across the list of property names. Though it is not the case here, you run the risk of a typo in one of the six setProperty() calls corrupting the CSS, which would be easy to miss when reading over the code.

Also,  "translate(" + x + "px)" should work fine without the Integer wrapper.


Sincerely,
Joseph

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/y6VRxVWAgjAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment