RESOLVED FIXED 46548
[Qt] GraphicsContext::setLineDash() should scale dashOffset to penWidth
https://bugs.webkit.org/show_bug.cgi?id=46548
Summary [Qt] GraphicsContext::setLineDash() should scale dashOffset to penWidth
Andreas Kling
Reported 2010-09-24 20:12:38 PDT
Qt's setLineDash() currently scales the dash array to the painter's penWidth, but not the dashOffset. This causes incorrect rendering of http://www.carto.net/svg/samples/animated_bustrack.shtml The problem is also exposed by (at least) one in-tree layout test: - svg/custom/js-repaint-rect-on-path-with-stroke.svg
Attachments
Proposed patch (1.35 KB, patch)
2010-09-24 20:16 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2010-09-24 20:16:25 PDT
Created attachment 68805 [details] Proposed patch
Andreas Kling
Comment 2 2010-09-25 08:44:26 PDT
Comment on attachment 68805 [details] Proposed patch Clearing flags on attachment: 68805 Committed r68331: <http://trac.webkit.org/changeset/68331>
Andreas Kling
Comment 3 2010-09-25 08:44:35 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 4 2010-09-25 09:10:39 PDT
Andreas Kling
Comment 5 2010-09-25 09:25:28 PDT
(In reply to comment #4) > http://trac.webkit.org/changeset/68331 might have totally b0rken Qt Linux Release Fixed with <http://trac.webkit.org/changeset/68332> :)
Note You need to log in before you can comment on or make changes to this bug.