svg-text-selection-shadow-ref.html (456B)
1 <!DOCTYPE html> 2 <title>CSS Pseudo-Elements Test: ::selection transparent background for SVG ref</title> 3 <link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org"> 4 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 5 <style> 6 div { 7 font: 16px Ahem; 8 } 9 text { 10 text-shadow: 5px 5px 0px green, 3px 3px 0px blue; 11 } 12 </style> 13 <div> 14 <svg width="100" height="60"> 15 <text x="20" y="20">Text</text> 16 </svg> 17 </div>