about summary refs log blame commit diff stats
path: root/test/js/query_selector_plus.html
blob: 0bbe1677026ea12c74856be98b3ddd83b0988b38 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                       
<!DOCTYPE HTML>
<div id=success>Fail</div>
<script one>
</script>
<script two>
</script>
<script>
if (document.querySelector("script[one] + script").attributes["two"]) {
	document.getElementById("success").textContent = "Success";
}
</script>