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