The WebKitCSSTransformValue needs a (simple) DOM interface
Created attachment 22056 [details] Adds IDL and updates projects
Comment on attachment 22056 [details] Adds IDL and updates projects Why the WebKit prefix on the JS class name? I've never seen us do that before...
Because we expect that it will change significantly. Doing will avoid name clashes and let us make changes that won't break backwards compatibility with the phone. We should have done this with <canvas>... it would have saved us a lot of headaches.
+ // OperationTypes + const unsigned short CSS_MATRIX = 1; + const unsigned short CSS_ROTATE = 3; + const unsigned short CSS_TRANSLATE = 5; + const unsigned short CSS_SCALE = 7; + const unsigned short CSS_SKEWX = 9; + const unsigned short CSS_SKEWY = 10; + const unsigned short CSS_TRANSLATEX = 16; + const unsigned short CSS_TRANSLATEY = 17; + const unsigned short CSS_SCALEX = 19; + const unsigned short CSS_SCALEY = 20; I think a comment is required here to warn people from making the values contiguous.
Comment on attachment 22056 [details] Adds IDL and updates projects r=me
I'll explain why there are gaps in the enum.
Done in 35084 http://trac.webkit.org/changeset/35084