I've complained about this before, but it's seriously inconvenient that markers can't be filled with the stroke of element they're used for.
1
3
For ex, here I need to create three absolutely identical markers, one for each of the three lines, which is stupid ☹ codepen.io/thebabydino/pen/v…
1
1
Replying to @anatudor
I think 'context-fill' and 'context-stroke' in w3.org/TR/SVG2/painting.html… solve this; IIRC Gecko implements, unsure of others

Dec 24, 2016 · 8:23 PM UTC

1
1
Here I think you want 'fill: context-stroke', but other combinations can also be useful. (Also see context-stroke-opacity etc.)
1
Although bugzil.la/752638 suggests maybe we don't actually implement the piece you need here.
1