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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/css-selector-text-expected.txt

Issue 1607873002: Serialize namespaced type/* selectors according to CSSOM spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@queryselector-no-pseudoelm-20160118
Patch Set: Rebased Created 4 years, 10 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 This tests parsing and re-serialization of some CSS selectors. 1 This tests parsing and re-serialization of some CSS selectors.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS parseThenSerializeRule('* { }') is '* { }' 6 PASS parseThenSerializeRule('* { }') is '* { }'
7 PASS parseThenSerializeRule('a { }') is 'a { }' 7 PASS parseThenSerializeRule('a { }') is 'a { }'
8 PASS parseThenSerializeRule('#a { }') is '#a { }' 8 PASS parseThenSerializeRule('#a { }') is '#a { }'
9 PASS parseThenSerializeRule('.a { }') is '.a { }' 9 PASS parseThenSerializeRule('.a { }') is '.a { }'
10 PASS parseThenSerializeRule(':active { }') is ':active { }' 10 PASS parseThenSerializeRule(':active { }') is ':active { }'
11 PASS parseThenSerializeRule('[a] { }') is '[a] { }' 11 PASS parseThenSerializeRule('[a] { }') is '[a] { }'
12 PASS parseThenSerializeRule('[a="b"] { }') is '[a="b"] { }' 12 PASS parseThenSerializeRule('[a="b"] { }') is '[a="b"] { }'
13 PASS parseThenSerializeRule('[a~="b"] { }') is '[a~="b"] { }' 13 PASS parseThenSerializeRule('[a~="b"] { }') is '[a~="b"] { }'
14 PASS parseThenSerializeRule('[a|="b"] { }') is '[a|="b"] { }' 14 PASS parseThenSerializeRule('[a|="b"] { }') is '[a|="b"] { }'
15 PASS parseThenSerializeRule('[a^="b"] { }') is '[a^="b"] { }' 15 PASS parseThenSerializeRule('[a^="b"] { }') is '[a^="b"] { }'
16 PASS parseThenSerializeRule('[a$="b"] { }') is '[a$="b"] { }' 16 PASS parseThenSerializeRule('[a$="b"] { }') is '[a$="b"] { }'
17 PASS parseThenSerializeRule('[a*="b"] { }') is '[a*="b"] { }' 17 PASS parseThenSerializeRule('[a*="b"] { }') is '[a*="b"] { }'
18 18
19 PASS parseThenSerializeRule('*|a { }') is '*|a { }' 19 PASS parseThenSerializeRule('*|a { }') is 'a { }'
20 PASS parseThenSerializeRule('n|a { }') is 'n|a { }' 20 PASS parseThenSerializeRule('n|a { }') is 'n|a { }'
21 PASS parseThenSerializeRule('*|* { }') is '*|* { }' 21 PASS parseThenSerializeRule('*|* { }') is '* { }'
22 PASS parseThenSerializeRule('n|* { }') is 'n|* { }' 22 PASS parseThenSerializeRule('n|* { }') is 'n|* { }'
23 PASS parseThenSerializeRule('[*|a] { }') is '[*|a] { }' 23 PASS parseThenSerializeRule('[*|a] { }') is '[*|a] { }'
24 PASS parseThenSerializeRule('[n|a] { }') is '[n|a] { }' 24 PASS parseThenSerializeRule('[n|a] { }') is '[n|a] { }'
25 25
26 PASS parseThenSerializeRule('a:active { }') is 'a:active { }' 26 PASS parseThenSerializeRule('a:active { }') is 'a:active { }'
27 PASS parseThenSerializeRule('a b { }') is 'a b { }' 27 PASS parseThenSerializeRule('a b { }') is 'a b { }'
28 PASS parseThenSerializeRule('a + b { }') is 'a + b { }' 28 PASS parseThenSerializeRule('a + b { }') is 'a + b { }'
29 PASS parseThenSerializeRule('a ~ b { }') is 'a ~ b { }' 29 PASS parseThenSerializeRule('a ~ b { }') is 'a ~ b { }'
30 PASS parseThenSerializeRule('a > b { }') is 'a > b { }' 30 PASS parseThenSerializeRule('a > b { }') is 'a > b { }'
31 31
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 PASS parseThenSerializeRule(':after { }') is '::after { }' 103 PASS parseThenSerializeRule(':after { }') is '::after { }'
104 PASS parseThenSerializeRule(':before { }') is '::before { }' 104 PASS parseThenSerializeRule(':before { }') is '::before { }'
105 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' 105 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }'
106 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' 106 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }'
107 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) { }') is ':-webkit-any(a.class1,#id,[attr]) { }' 107 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) { }') is ':-webkit-any(a.class1,#id,[attr]) { }'
108 108
109 PASS successfullyParsed is true 109 PASS successfullyParsed is true
110 110
111 TEST COMPLETE 111 TEST COMPLETE
112 112
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698