10 lines
314 B
HTML
10 lines
314 B
HTML
<script type="application/json" id="selectors">
|
|
[{
|
|
"selector": "p[title*=\"bar\"]",
|
|
"match": ["1"]
|
|
}]
|
|
</script>
|
|
<div id="testDOM">
|
|
<p id="1" title="foobarufoo">This paragraph should have a green background because its title attribute contains "bar"</p>
|
|
</div>
|