You need to
before you can comment on or make changes to this bug.
Qt lacks of SVG pattern support.
Created an attachment (id=23629) [details]
This patch adds svg pattern support. Only texts are not supported (like on gradients).
(From update of attachment 23629 [details])
+ PassRefPtr<Pattern> pattern;
+ pattern = Pattern::create(tile()->image(), true, true);
This is an inefficient idiom. It's more efficient to initialize on the same line the variable is defined on. But also the local variable should be RefPtr, not PassRefPtr. See <http://webkit.org/coding/RefPtr.html> for guidelines.
+ QBrush brush(pattern.get()->createPlatformPattern(affine));
No need for the call to get() here. You can just use the -> operator normally with smart pointers.
r=me as-is, but I suggest making those two refinements.
Created an attachment (id=23651) [details]
Forgot to add QPainter and changed PassRefPtr to RefPtr.
(From update of attachment 23651 [details])
Landed as r37006.