context-stroke-04.html (440B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Test context-stroke with stroke-opacity</title> 5 <style> 6 7 img { 8 width: 100px; 9 height: 100px; 10 -moz-context-properties: stroke; 11 stroke: lime; 12 } 13 14 </style> 15 </head> 16 <body> 17 <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 red' stroke-opacity='0.5'/></svg>"> 18 </body> 19 </html>