custom-highlight-painting-overlapping-highlights-001-ref.html (335B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <style> 4 body { 5 font-size: 3em; 6 font-weight: bolder; 7 8 } 9 #affected1 { 10 color: red; 11 } 12 #affected2 { 13 color: green; 14 } 15 </style> 16 <body><span id="affected1">This should have 'highlight1' style (red).</span><span id="affected2">This should have 'highlight2' style (green).</span>