There is a bug in the JavaScript WebKitCSSMatrix object; the following example explains: var A = new WebKitCSSMatrix(); var B = new WebKitCSSMatrix(); var C = A.multiply(B); Result on Mobile Safari: C = B.A Result on Desktop Safar: C = A.B Notice that B.A is calculated different than A.B, and therefore the result is not likely to be the same!
I think that this was an intentional change, see bug 38337. Apparently, this change hasn't been picked by iPhone version of WebKit yet - but it's not appropriate to discuss iPhone WebKit here, since it doesn't build from webkit.org sources. > Notice that B.A is calculated different than A.B, and therefore the result is not likely to be the same! One can multiply two known matrices to see what version of multiply() is implemented.
<rdar://problem/7781582>
Marking as RESOLVED/INVALID since we're tracking merging the fix for Bug38337 as part of <rdar://problem/7781582> for iOS. Thanks!