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

Side by Side Diff: LayoutTests/fast/css/css3-nth-tokens-script.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <style> 5 <style>
6 span.c1:nth-of-type(2n -1){ color: red; } 6 span.c1:nth-of-type(2n -1){ color: red; }
7 span.c1:nth-of-type(2n){ color: green; } 7 span.c1:nth-of-type(2n){ color: green; }
8 span.c2:nth-of-type(odd){ color: red; } 8 span.c2:nth-of-type(odd){ color: red; }
9 span.c2:nth-of-type(even){ color: green; } 9 span.c2:nth-of-type(even){ color: green; }
10 span.c3:nth-of-type(n3){ color: red; } 10 span.c3:nth-of-type(n3){ color: red; }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo r')", "'rgb(0, 128, 0)'"); 56 shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('colo r')", "'rgb(0, 128, 0)'");
57 57
58 shouldThrow('document.querySelector("span.c3:nth-of-type(n3)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(n3)\' is not a valid selector."') ; 58 shouldThrow('document.querySelector("span.c3:nth-of-type(n3)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(n3)\' is not a valid selector."') ;
59 59
60 shouldThrow('document.querySelector("span.c3:nth-of-type(foo)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(foo)\' is not a valid selector." '); 60 shouldThrow('document.querySelector("span.c3:nth-of-type(foo)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(foo)\' is not a valid selector." ');
61 61
62 shouldThrow('document.querySelector("span.c3:nth-of-type(2n3)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(2n3)\' is not a valid selector." '); 62 shouldThrow('document.querySelector("span.c3:nth-of-type(2n3)")', '"SyntaxError: Failed to execute query: \'span.c3:nth-of-type(2n3)\' is not a valid selector." ');
63 63
64 shouldThrow('document.querySelector("span.c3:nth-of-type(foon + bar)")', '"Synta xError: Failed to execute query: \'span.c3:nth-of-type(foon + bar)\' is not a va lid selector."'); 64 shouldThrow('document.querySelector("span.c3:nth-of-type(foon + bar)")', '"Synta xError: Failed to execute query: \'span.c3:nth-of-type(foon + bar)\' is not a va lid selector."');
65 </script> 65 </script>
66 <script src="../js/resources/js-test-post.js"></script>
67 </body> 66 </body>
68 </html> 67 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/css3-nth-space.html ('k') | LayoutTests/fast/css/css3-nth-tokens-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698