context-stroke-02.html (455B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Basic context-stroke test (without a fallback color)</title> 5 <style> 6 7 img { 8 width: 100px; 9 height: 100px; 10 -moz-context-properties: stroke; 11 stroke: lime; 12 border: 1px solid black; 13 } 14 15 </style> 16 </head> 17 <body> 18 <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><line x1='0' y1='50%' x2='100%' y2='50%' stroke-width='120%' stroke='context-stroke'/></svg>"> 19 </body> 20 </html>