4 <title>Pseudo classes with escaped start parenthesis
</title>
5 <script src=
"../../resources/testharness.js"></script>
6 <script src=
"../../resources/testharnessreport.js"></script>
7 <style>:-webkit-any\( {}
</style>
8 <style>:nth-child\( {}
</style>
9 <style>:nth-of-type\( {}
</style>
10 <style>:nth-last-child\( {}
</style>
11 <style>:nth-last-of-type\( {}
</style>
12 <style>:lang\( {}
</style>
13 <style>:not\( {}
</style>
14 <style>:cue\( {}
</style>
15 <style>:part\( {}
</style>
16 <style>:host\( {}
</style>
21 var sheets
= document
.styleSheets
;
24 assert_equals(sheets
.length
, 10, "StyleSheets.length");
25 }, "All stylesheets present")
27 for (var i
=0; i
<sheets
.length
; i
++) {
29 assert_equals(sheets
[i
].cssRules
.length
, 0, "cssRules.length");
30 }, "Drop \"" + sheets
[i
].ownerNode
.firstChild
.data
+ "\"");