Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / css-selector-deeply-nested.html
blob1c390cfce12332302d301a30e56646eead648736
1 <html>
2 <head></head>
3 <body>
4 <script>
5 function generate_deeply_nested_selector(nest) {
6 var selector = [];
7 for (var i = 0; i < nest; ++i)
8 selector.push('* > ');
9 // We don't add last '*' to the selector so that this CSS Selector is invalid.
10 selector.push(' {background:blue}');
11 var style = document.createElement('style');
12 style.type = 'text/css';
13 style.innerHTML = selector.join('');
14 document.head.appendChild(style);
17 generate_deeply_nested_selector(400000);
19 if (window.testRunner)
20 testRunner.dumpAsText();
21 </script>
22 <p>Test case for <a href="http://bugs.webkit.org/show_bug.cgi?id=41129">http://bugs.webkit.org/show_bug.cgi?id=41129</a></p>
23 <p>If browser didn't crash, the test passed.</p>
24 </body>
25 </html>