This value indicates that the fill will be painted first, then the stroke, and finally the markers.
[ fill || stroke || markers ]
The order of these three keywords indicates the order in which the painting happens, from left to right. If any of the three painting components is omitted, they will be painted in their default order after the specified components. For example, using stroke is equivalent to stroke fill markers.
Example
<svgxmlns="http://www.w3.org/2000/svg"width="400"height="200"><linearGradientid="g"x1="0"y1="0"x2="0"y2="1"><stopstop-color="#888"/><stopstop-color="#ccc"offset="1"/></linearGradient><rectwidth="400"height="200"fill="url(#g)"/><gfill="crimson"stroke="white"stroke-width="6"stroke-linejoin="round"text-anchor="middle"font-family="sans-serif"font-size="50px"font-weight="bold"><textx="200"y="75">stroke over</text><textx="200"y="150"paint-order="stroke"id="stroke-under">
stroke under
</text></g></svg>
The example would be rendered as follows:
The stroke under effect could be achieved via the following CSS property: