Drawing text currently replaces the GC's pen. This means that using canvas's strokeText() will make the canvas context's strokeStyle lose sync with the GC's pen.
Created attachment 69082 [details] Proposed patch
Comment on attachment 69082 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=69082&action=review LGTM > WebCore/platform/graphics/qt/FontQt.cpp:212 > + QPen oldPen = p->pen(); Persoannly I like previousPen better than old.
Committed r68549: <http://trac.webkit.org/changeset/68549>
http://trac.webkit.org/changeset/68549 might have broken SnowLeopard Intel Release (Tests)