The SVG spec only allows markers on paths but our current codebase has the code in RenderSVGShape, the superclass of RenderSVGRect and RenderSVGEllipse. Neither rects nor ellipses can have markers so we should move the marker code into RenderSVGPath for better code clarity and rendering performance.
The SVG 2.0 spec will allow more variants of markers, and I think it includes markers an any shape. Check before doing this.
(In reply to comment #1) > The SVG 2.0 spec will allow more variants of markers, and I think it includes markers an any shape. Check before doing this. I poked around the W3C and I think what is being proposed is more general markers (essentially, <use>) and stuff like shapes along paths but not markers along shapes. It does make sense to use shapes to stroke a shape though, so I will hold off on this patch for now. Dirk, Niko, do either of you know more information?