20 lines
567 B
HTML
20 lines
567 B
HTML
<script type="application/json" id="selectors">
|
|
[{
|
|
"selector": "p:not(.t1):not(.t2)",
|
|
"match": []
|
|
},
|
|
{
|
|
"selector": "div:not(.t1)",
|
|
"match": ["testDOM", "2"]
|
|
},
|
|
{
|
|
"selector": "address:not(.t5):not(.t5)",
|
|
"match": []
|
|
}]
|
|
</script>
|
|
<div id="testDOM">
|
|
<p id="1" class="t1 t2">This line should be green.</p>
|
|
<div id="2" class="t3">This line should be green.</div>
|
|
<address id="3" class="t4 t5 t6">This line should be green.</address>
|
|
</div>
|