RESOLVED INVALID 43184
WebKitCSSMatrix behaves differently on iOS 4.0 from Safari 5.0
https://bugs.webkit.org/show_bug.cgi?id=43184
Summary WebKitCSSMatrix behaves differently on iOS 4.0 from Safari 5.0
Theis Mackeprang
Reported 2010-07-29 02:35:49 PDT
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!
Attachments
Alexey Proskuryakov
Comment 1 2010-08-02 07:14:54 PDT
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.
David Kilzer (:ddkilzer)
Comment 2 2010-08-03 11:08:43 PDT
David Kilzer (:ddkilzer)
Comment 3 2010-08-03 11:10:09 PDT
Marking as RESOLVED/INVALID since we're tracking merging the fix for Bug38337 as part of <rdar://problem/7781582> for iOS. Thanks!
Note You need to log in before you can comment on or make changes to this bug.