I confirm that this is a regression and I can reproduce it.
PGF 3.0.0 comes with a lot of changes around shading and xelatex. These changes activate the full feature set of fadings, shadings, etc. just as pdflatex does. The fact that it works only for particular document classes is a bad surprise.
EDIT
I fixed the bug in the developer version of PGF; will become part of the next stable.
The candidate can be downloaded at http://pgf.sourceforge.net/
The following is probably better suited for a ticketing system, but since I started looking into the bug, I can document my steps here as well. Perhaps some expert on low-level drivers jumps onto it.
I found that it is caused by the code resulting from \pgfsys@vertshading, more specifically, the resulting PDF code segment
7 0 obj
<<
/Matrix [1 0 0 1 72 -72]
/Subtype /Form
/Length 15
/Resources 8 0 R
/FormType 1
/Type /XObject
/BBox [-72 72 28 172]
>>
stream
0 G 0 g /Sh sh
endstream
PGF 2.10 produced a further negative transformation (the part with 1 0 0 1.. cm).
<<
/Matrix [1 0 0 1 72 -72]
/Subtype /Form
/Length 37
/Resources 7 0 R
/FormType 1
/Type /XObject
/BBox [-72 72 28 172]
>>
stream
0 G 0 g q 1 0 0 1 -72 72 cm /Sh sh Q
endstream
I have patched the resulting pdf manually; if I introduce these negative shifts, the result is correct. Alternatively, If I patch /Matrix and /BBox to
7 0 obj
<<
/Matrix [1 0 0 1 0 0]
/Subtype /Form
/Length 15
/Resources 8 0 R
/FormType 1
/Type /XObject
/BBox [0 0 100 100]
>>
stream
0 G 0 g /Sh sh
endstream
it works as well. Interestingly, the value 100 100 is available as size in \pgfsys@vertshading; it is the bounding box in pgf's coordinates somewhere deep down in the system. I experimented a while but got no grip on the problem; I do not know how the "72" enters here.
Note that pdflatex generates the 0 0 100 100 as bounding box with identity matrix (the correct one). Using the article class and xelatex also produces this value.
Perhaps some guru on device driver development can shed some light on it; I bet it is related to something deep in the latex-specific pgfutil stuff (pgfutil-latex.def).
2.10. – someonr Dec 28 '13 at 01:01articleclass. Must be some (un)funny bug. – someonr Dec 28 '13 at 01:18standaloneare you using? Could you try it again with thepreviewclass option and then again with thecropoption and tell me what happens. – Martin Scharrer Dec 30 '13 at 08:452012/09/15 v1.1b. The optionspreviewandcroparen't changing the output. – someonr Dec 30 '13 at 12:14standalone(2012/09/15 v1.1b) under MikTeX. Any news since the question was asked (one year ago) ? – Kpym Dec 27 '14 at 19:52