highlight-cascade-006-ref.xhtml (942B)
1 <?xml version="1.0"?><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> 2 <meta charset="utf-8"/> 3 <title>CSS Pseudo-Elements Test: highlight cascade: inheritance with both universal and namespace-universal rules</title> 4 <link rel="author" title="Delan Azabani" href="mailto:dazabani@igalia.com"/> 5 <script src="../support/selections.js"></script> 6 <style> 7 main * { all: initial; display: block; } 8 ::selection { color: green; } 9 </style> 10 </head><body> 11 <main xmlns:other="http://example.org/other"> 12 <div class="red"><span class="bar"><other:a>green</other:a></span></div> 13 <div class="red"><empty xmlns=""><other:b>green</other:b></empty></div> 14 <div class="red"><foo xmlns="http://example.org/foo"><other:c>green</other:c></foo></div> 15 <div class="red"><default xmlns="http://example.org/default"><other:d>green</other:d></default></div> 16 </main> 17 <script>selectNodeContents(document.body);</script> 18 </body></html>