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

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

Issue 1305973007: Clean up empty namespace handling and fix empty namespaces in compound selectors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@defaultns
Patch Set: Created 5 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
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 { }'
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not( [type="file"]):focus { }' 83 PASS parseThenSerializeRule('input:not([type="file"]):focus { }') is 'input:not( [type="file"]):focus { }'
84 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any( [type="file"]) { }' 84 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any( [type="file"]) { }'
85 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover) { }' 85 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover) { }'
86 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enab led { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }' 86 PASS parseThenSerializeRule('input:-webkit-any([type="file"],:hover,:focus):enab led { }') is 'input:-webkit-any([type="file"],:hover,:focus):enabled { }'
87 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focu s) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }' 87 PASS parseThenSerializeRule(':-webkit-any(input[type="file"],a:hover,button:focu s) { }') is ':-webkit-any(input[type="file"],a:hover,button:focus) { }'
88 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-web kit-any(.class1.class2.class3) { }' 88 PASS parseThenSerializeRule(':-webkit-any(.class1.class2.class3) { }') is ':-web kit-any(.class1.class2.class3) { }'
89 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any( .class1:hover) { }' 89 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any( .class1:hover) { }'
90 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is ':-webkit-any(a.class1.class2.class3:hover) { }' 90 PASS parseThenSerializeRule(':-webkit-any(a.class1.class2.class3:hover) { }') is ':-webkit-any(a.class1.class2.class3:hover) { }'
91 91
92 PASS parseThenSerializeRule('*:active { }') is ':active { }' 92 PASS parseThenSerializeRule('*:active { }') is ':active { }'
93 PASS parseThenSerializeRule('|a { }') is 'a { }' 93 PASS parseThenSerializeRule('|a { }') is '|a { }'
94 94
95 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"] :focus { }' 95 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"] :focus { }'
96 96
97 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' 97 PASS parseThenSerializeRule('a+b { }') is 'a + b { }'
98 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' 98 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }'
99 PASS parseThenSerializeRule('a>b { }') is 'a > b { }' 99 PASS parseThenSerializeRule('a>b { }') is 'a > b { }'
100 100
101 PASS parseThenSerializeRule(':after { }') is '::after { }' 101 PASS parseThenSerializeRule(':after { }') is '::after { }'
102 PASS parseThenSerializeRule(':before { }') is '::before { }' 102 PASS parseThenSerializeRule(':before { }') is '::before { }'
103 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' 103 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }'
104 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' 104 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }'
105 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) { }') is ':-webkit-any(a.class1,#id,[attr]) { }' 105 PASS parseThenSerializeRule(':-webkit-any( a.class1 , #id,[attr] ) { }') is ':-webkit-any(a.class1,#id,[attr]) { }'
106 106
107 PASS successfullyParsed is true 107 PASS successfullyParsed is true
108 108
109 TEST COMPLETE 109 TEST COMPLETE
110 110
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/css-selector-text.html ('k') | LayoutTests/fast/css/css-set-selector-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698