context-stroke-opacity-03.html (508B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Test context-stroke-opacity works with context-stroke</title> 5 <style> 6 7 img { 8 width: 100px; 9 height: 100px; 10 -moz-context-properties: stroke, stroke-opacity; 11 stroke: blue; 12 stroke-opacity: 0.5; 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' stroke-opacity='context-stroke-opacity'/></svg>"> 19 </body> 20 </html>