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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-selector-query.html

Issue 547363002: Reject pseudo class inside :not() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/content-selector-query-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p>This test checks select attribute of content element is valid.</p> 7 <p>This test checks select attribute of content element is valid.</p>
8 <pre id="console"></pre> 8 <pre id="console"></pre>
9 <div id="container"></div> 9 <div id="container"></div>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'div:active', 'div:hover', 'div:focus', 44 'div:active', 'div:hover', 'div:focus',
45 'div div:not(div)', 'div:not(div) div', 'div span div', 45 'div div:not(div)', 'div:not(div) div', 'div span div',
46 'div < div', 'div - dvi', '< div', '+div', '~div', 'div:!', '!:!', 'div::!', 'div::first_of_type', 46 'div < div', 'div - dvi', '< div', '+div', '~div', 'div:!', '!:!', 'div::!', 'div::first_of_type',
47 'pe;ro', '@screen', '@import "style.css"', 'div :first-of-type', 'div::first -of-type', 47 'pe;ro', '@screen', '@import "style.css"', 'div :first-of-type', 'div::first -of-type',
48 ' div, ,div', 'div \'\'', 48 ' div, ,div', 'div \'\'',
49 'div:link', 'div:visited', 'div:target', 'div:enabled', 'div:checked', 49 'div:link', 'div:visited', 'div:target', 'div:enabled', 'div:checked',
50 'div:indeterminate', 'div:nth-child(1)', 'div:nth-last-child(1)', 'div:nth-o f-type(1)', 50 'div:indeterminate', 'div:nth-child(1)', 'div:nth-last-child(1)', 'div:nth-o f-type(1)',
51 'div:nth-last-of-type(1)', 'div:first-child', 'div:last-child', 'div:first-o f-type', 51 'div:nth-last-of-type(1)', 'div:first-child', 'div:last-child', 'div:first-o f-type',
52 'div:last-of-type', 'div:only-of-type', 52 'div:last-of-type', 'div:only-of-type',
53 'div:first-of-type:last-of-type', 'div.elem:visited', '*:visited', 53 'div:first-of-type:last-of-type', 'div.elem:visited', '*:visited',
54 'div:first-of-type, div', 'div, div:first-of-type', 'div:first-of-type, div: last-of-type', 54 'div:first-of-type, div', 'div, div:first-of-type', 'div:first-of-type, div: last-of-type', 'div:not(:not(div))', 'div:not(:hover)', 'div:not(div div)', 'div :not(div div:not)', 'div:not(div div:hover)', 'div div:not(:hover)',
55 ]; 55 ];
56 56
57 var dataOfValidCasesIfPseudoClassIsAllowed = [ 57 var dataOfValidCasesIfPseudoClassIsAllowed = [
58 null, '', 58 null, '',
59 'ns|div', '*|div', '|div', 'div', 59 'ns|div', '*|div', '|div', 'div',
60 'ns|*', '*|*', '|*', '*', 60 'ns|*', '*|*', '|*', '*',
61 '.elem', 'p.elem', 'foo.elem', '*.right', 61 '.elem', 'p.elem', 'foo.elem', '*.right',
62 '#elem', 'p#elem', 'foo#elem', '*#something', 62 '#elem', 'p#elem', 'foo#elem', '*#something',
63 'div[title]', 'div[class="example"]', 'div[hello="Cleveland"][goodbye="Colum bus"]', 63 'div[title]', 'div[class="example"]', 'div[hello="Cleveland"][goodbye="Colum bus"]',
64 'div[rel~="copyright"]', 'div[href="http://www.example.com/"]', 64 'div[rel~="copyright"]', 'div[href="http://www.example.com/"]',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 for (var i = 0; i < dataOfInvalidCasesIfPseudoClassIsAllowed.length; ++i) { 110 for (var i = 0; i < dataOfInvalidCasesIfPseudoClassIsAllowed.length; ++i) {
111 test(dataOfInvalidCases[i], false); 111 test(dataOfInvalidCases[i], false);
112 } 112 }
113 } 113 }
114 114
115 doTest(); 115 doTest();
116 var successfullyParsed = true; 116 var successfullyParsed = true;
117 </script> 117 </script>
118 </body> 118 </body>
119 </html> 119 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/content-selector-query-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698