Wrong raster exported with combination of mask, gradient and brush
I have path with a stroke applied to it.
Stroke is gradient, applied 'within'
One point of this gradient has opacity 0.
This path has mask.
Mask applied as inverted and clipping.
Inside this mask I have path with dash brush applied to it.
All of this looks fine inside AI.
When I export a picture with Save for web (try other exports yourself, I don't use them) — AI doesn't see mask.
See animation and artwork attached.