Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / pseudo-escaped-parenthesis.html
bloba352f8cf2ab48c0e56c2eb0b98b03b4edc67dd61
1 <!DOCTYPE html>
2 <html>
3 <head>
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>
17 </head>
18 <body>
19 <p id="log"></p>
20 <script>
21 var sheets = document.styleSheets;
23 test(function(){
24 assert_equals(sheets.length, 10, "StyleSheets.length");
25 }, "All stylesheets present")
27 for (var i=0; i<sheets.length; i++) {
28 test(function(){
29 assert_equals(sheets[i].cssRules.length, 0, "cssRules.length");
30 }, "Drop \"" + sheets[i].ownerNode.firstChild.data + "\"");
32 </script>
33 </body>
34 </html>