svg-text-selection-ref.html (447B)
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 fill: lightgreen; 11 stroke: darkgreen; 12 } 13 </style> 14 <div> 15 <svg width="100" height="60"> 16 <text x="20" y="20">Text</text> 17 </svg> 18 </div>