Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: LayoutTests/fast/css/pseudo-escaped-parenthesis.html

Issue 23710067: :-webkit-any pseudo with escaped '(' should not crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed workaround code for :not() Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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>:-webkit-distributed\( {}</style>
16 <style>:part\( {}</style>
17 <style>:host\( {}</style>
18 </head>
19 <body>
20 <p id="log"></p>
21 <script>
22 var sheets = document.styleSheets;
23
24 test(function(){
25 assert_equals(sheets.length, 11, "StyleSheets.length");
26 }, "All stylesheets present")
27
28 for (var i=0; i<sheets.length; i++) {
29 test(function(){
30 assert_equals(sheets[i].cssRules.length, 0, "cssRules.length");
31 }, "Drop \"" + sheets[i].ownerNode.firstChild.data + "\"");
32 }
33 </script>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698