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

Side by Side Diff: LayoutTests/fast/css/css-selector-text.html

Issue 1280423002: CSS4: Implement :placeholder-shown pseudo class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 4 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
1 <html> 1 <html>
2 <head id="head"> 2 <head id="head">
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 7
8 description("This tests parsing and re-serialization of some CSS selectors."); 8 description("This tests parsing and re-serialization of some CSS selectors.");
9 9
10 function parseThenSerializeRule(rule) 10 function parseThenSerializeRule(rule)
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 testSelectorRoundTrip(":checked"); 64 testSelectorRoundTrip(":checked");
65 testSelectorRoundTrip(":disabled"); 65 testSelectorRoundTrip(":disabled");
66 testSelectorRoundTrip(":empty"); 66 testSelectorRoundTrip(":empty");
67 testSelectorRoundTrip(":enabled"); 67 testSelectorRoundTrip(":enabled");
68 testSelectorRoundTrip(":first-child"); 68 testSelectorRoundTrip(":first-child");
69 testSelectorRoundTrip(":first-of-type"); 69 testSelectorRoundTrip(":first-of-type");
70 testSelectorRoundTrip(":focus"); 70 testSelectorRoundTrip(":focus");
71 testSelectorRoundTrip(":hover"); 71 testSelectorRoundTrip(":hover");
72 testSelectorRoundTrip(":indeterminate"); 72 testSelectorRoundTrip(":indeterminate");
73 testSelectorRoundTrip(":link"); 73 testSelectorRoundTrip(":link");
74 testSelectorRoundTrip(":not(:placeholder-shown)");
75 testSelectorRoundTrip(":placeholder-shown");
74 testSelectorRoundTrip(":root"); 76 testSelectorRoundTrip(":root");
75 testSelectorRoundTrip(":target"); 77 testSelectorRoundTrip(":target");
76 testSelectorRoundTrip(":visited"); 78 testSelectorRoundTrip(":visited");
77 79
78 debug(''); 80 debug('');
79 81
80 testSelectorRoundTrip(":lang(a)"); 82 testSelectorRoundTrip(":lang(a)");
81 testSelectorRoundTrip(":not(a)"); 83 testSelectorRoundTrip(":not(a)");
82 testSelectorRoundTrip(":-webkit-any(a,b,p)"); 84 testSelectorRoundTrip(":-webkit-any(a,b,p)");
83 85
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 shouldBe("parseThenSerializeRule(':before { }')", "'::before { }'"); 157 shouldBe("parseThenSerializeRule(':before { }')", "'::before { }'");
156 shouldBe("parseThenSerializeRule(':first-letter { }')", "'::first-letter { }'"); 158 shouldBe("parseThenSerializeRule(':first-letter { }')", "'::first-letter { }'");
157 shouldBe("parseThenSerializeRule(':first-line { }')", "'::first-line { }'"); 159 shouldBe("parseThenSerializeRule(':first-line { }')", "'::first-line { }'");
158 shouldBe("parseThenSerializeRule(':-webkit-any( a.class1 , #id,[att r] ) { }')","':-webkit-any(a.class1,#id,[attr]) { }'"); 160 shouldBe("parseThenSerializeRule(':-webkit-any( a.class1 , #id,[att r] ) { }')","':-webkit-any(a.class1,#id,[attr]) { }'");
159 161
160 debug(''); 162 debug('');
161 163
162 </script> 164 </script>
163 </body> 165 </body>
164 </html> 166 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/css-selector-text-expected.txt » ('j') | LayoutTests/fast/css/placeholder-shown-basics.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698