paint-order-001.html (1363B)
1 <!DOCTYPE html> 2 <html> 3 <meta charset="utf-8"> 4 <title>webkit-text-stroke and paint-order</title> 5 <link rel="author" title="Jonathan Kew" href="jfkthame@gmail.com"> 6 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 7 <link rel="match" href="reference/paint-order-001-ref.html"> 8 <link rel="help" href="https://www.w3.org/TR/fill-stroke-3/#strokes"> 9 <link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-stroke"> 10 <meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-5"> 11 <style> 12 span { -webkit-text-stroke: 5px orange; } 13 span.i { paint-order: initial; } 14 span.f { paint-order: fill; } 15 span.fs { paint-order: fill stroke; } 16 span.s { paint-order: stroke; } 17 span.sf { paint-order: stroke fill; } 18 </style> 19 <body> 20 <div style="font: bold 32px serif;"> 21 <span class="i">initial</span> 22 <span class="f">fill</span> 23 <span class="s">stroke</span> 24 <span class="fs">f-s</span> 25 <span class="sf">s-f</span> 26 </div> 27 28 <div style="font: bold 64px serif;"> 29 <span class="i">initial</span> 30 <span class="f">fill</span> 31 <span class="s">stroke</span> 32 <span class="fs">f-s</span> 33 <span class="sf">s-f</span> 34 </div> 35 36 <div style="font: bold 96px serif;"> 37 <span class="i">initial</span><br> 38 <span class="f">fill</span> 39 <span class="s">stroke</span><br> 40 <span class="fs">f-s</span> 41 <span class="sf">s-f</span> 42 </div> 43 <body> 44 <html>