When rendered to a PDF, the gradients show up as a rectangular block, instead of being contained by the stroked line.
Acrobat Reader renders the PDF correctly. Evince does not.
Originally filed as a bug in Cairo:
Created attachment 16922 [details]
stroked gradient testcase
*** This bug has been marked as a duplicate of bug 10942 ***