RESOLVED FIXED 49774
Need to scale translation values in matrix() by the zoom factor.
https://bugs.webkit.org/show_bug.cgi?id=49774
Summary Need to scale translation values in matrix() by the zoom factor.
Simon Fraser (smfr)
Reported 2010-11-18 17:30:32 PST
Created attachment 74328 [details] Testcase Need to scale translation values in matrix() by the zoom factor.
Attachments
Testcase (537 bytes, text/html)
2010-11-18 17:30 PST, Simon Fraser (smfr)
no flags
WebCore: (5.16 KB, patch)
2010-12-20 23:51 PST, Ariya Hidayat
no flags
https://bugs.webkit.org/show_bug.cgi?id=49774 (7.82 KB, patch)
2010-12-21 12:38 PST, Ariya Hidayat
no flags
Ariya Hidayat
Comment 1 2010-12-20 23:51:29 PST
Created attachment 77088 [details] WebCore:
Simon Fraser (smfr)
Comment 2 2010-12-21 09:04:13 PST
Comment on attachment 77088 [details] WebCore: View in context: https://bugs.webkit.org/attachment.cgi?id=77088&action=review r=me. I think we'll have to fix matrix3d() as well; can you file a new bug on that? > LayoutTests/fast/transforms/matrix-with-zoom.html:49 > + resultString += "PASS - Element " + id1 + " and Element " + id2 + " had identical position<br>"; > + } else { > + resultString += "FAIL - Element " + id1 + " and Element " + id2 + " had different position<br>"; "positions" > LayoutTests/fast/transforms/matrix-with-zoom.html:63 > +<p>You should see green box only. If you see red, the test has failed.</p> I don't think it's useful to have this text in a pixel test.
Ariya Hidayat
Comment 3 2010-12-21 11:14:50 PST
> r=me. I think we'll have to fix matrix3d() as well; can you file a new bug on that? Good point. https://bugs.webkit.org/show_bug.cgi?id=51408 > > LayoutTests/fast/transforms/matrix-with-zoom.html:63 > > +<p>You should see green box only. If you see red, the test has failed.</p> > > I don't think it's useful to have this text in a pixel test. It's useful when running the test from a web browser (I just followed other similar tests). The patch is also missing a pixel test.
Ariya Hidayat
Comment 4 2010-12-21 12:06:56 PST
Comment on attachment 77088 [details] WebCore: Clearing the review flag. Will update a new one.
Ariya Hidayat
Comment 6 2010-12-21 15:26:35 PST
Ariya Hidayat
Comment 7 2010-12-21 15:26:42 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.