If the fillStyle of the 2d context is set to a fully transparent colour, lines will not render, if it is set to anything else, the line renders correctly. Lines should (iirc) be affected by strokeStyle rather than fillStyle. This is a regression, as the testcase works in Safari 3.1. See the provided link for a testcase. (Also, apologies if I've selected the wrong component.)
Confirmed with r37887.
Created attachment 24680 [details] fixed strokePath() fixed strokePath() in GraphicsContextCg.
Comment on attachment 24680 [details] fixed strokePath() Great fix, but we also need a regression test!
Comment on attachment 24680 [details] fixed strokePath() LGTM.
Comment on attachment 24680 [details] fixed strokePath() Ah true... we do need a regression test. You can make one with getImageData so it doesn't need pixel tests.
Created attachment 24742 [details] strokPath() fix with LayoutTest added a LayoutTest to the patch.
Comment on attachment 24742 [details] strokPath() fix with LayoutTest Excellent! r=me
landed in r38364.