Tested with nightly builds, SVG patterns regressed and are displayed upside down. This can be observed on w3c SVG tests full-pservers-grad-06-b.html, full-pservers-grad-03-b.html, full-coords-units-01-b.html (at least)
Regression from changes to ImageBuffer no doubt.
<rdar://problem/5876063>
Created attachment 20776 [details] fix Not sure this is the right fix. I find the #if out of place. another cleaner solution would be in SVGPaintServerPatternCg in patternCallback, but i'm not sure it would be advisable performance-wise.
Comment on attachment 20776 [details] fix Shouldn't have to put CG ifdefs into a cross-platform file. We need to make sure the underlying graphics APIs used to render are ultimately doing the right thing now.
Hacking the pattern callback should work. Do that. Alternatively you could probably add the transform in to the CGPatternCreate call.
Created attachment 20797 [details] patch the pattern callback putting the transform on the context passed to cgpatterncreate does not work for text (nothing drawn), and applies to more than the tile (bad skew in full-pservers-grad-06-b.html for instance). So I transform the context in the callback.
Comment on attachment 20797 [details] patch the pattern callback r=me
Landed in <http://trac.webkit.org/changeset/32734>.