| <!DOCTYPE html> |
| |
| <html> |
| <head> |
| <style> |
| div { |
| position: absolute; |
| font-size: 80px; |
| color: gray; |
| } |
| |
| .test-stroke { |
| text-shadow: none; |
| -webkit-text-stroke: 25px red; |
| |
| /* Clip used to isolate the stroke */ |
| -webkit-clip-path: inset(20px 55px 30px 15px); |
| } |
| |
| .fill-grey { |
| text-shadow: none; |
| |
| /* Clip used to isolate the stroke */ |
| -webkit-clip-path: inset(20px 55px 30px 15px); |
| } |
| |
| </style> |
| </head> |
| <body> |
| |
| <div class="test-stroke" style="paint-order: fill; top: 0px">◼</div> |
| <div class="test-stroke" style="paint-order: fill markers; top: 100px">◼</div> |
| <div class="fill-grey" style="paint-order: stroke; top: 200px">◼</div> |
| <div class="fill-grey" style="paint-order: stroke markers; top: 300px">◼</div> |
| <div class="test-stroke" style="paint-order: markers; top: 400px">◼</div> |
| <div class="fill-grey" style="paint-order: markers stroke; top: 500px">◼</div> |
| |
| </body> |
| </html> |