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

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

Issue 8931002: Merge 101998 - "Raw" pseudo selectors don't match if immediately after a child or descendant comb... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 9 years 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 PASS parseThenSerializeRule('::after { }') is '::after { }' 51 PASS parseThenSerializeRule('::after { }') is '::after { }'
52 PASS parseThenSerializeRule('::before { }') is '::before { }' 52 PASS parseThenSerializeRule('::before { }') is '::before { }'
53 PASS parseThenSerializeRule('::first-letter { }') is '::first-letter { }' 53 PASS parseThenSerializeRule('::first-letter { }') is '::first-letter { }'
54 PASS parseThenSerializeRule('::first-line { }') is '::first-line { }' 54 PASS parseThenSerializeRule('::first-line { }') is '::first-line { }'
55 PASS parseThenSerializeRule('::selection { }') is '::selection { }' 55 PASS parseThenSerializeRule('::selection { }') is '::selection { }'
56 56
57 PASS parseThenSerializeRule(':-webkit-any-link { }') is ':-webkit-any-link { }' 57 PASS parseThenSerializeRule(':-webkit-any-link { }') is ':-webkit-any-link { }'
58 PASS parseThenSerializeRule(':-webkit-autofill { }') is ':-webkit-autofill { }' 58 PASS parseThenSerializeRule(':-webkit-autofill { }') is ':-webkit-autofill { }'
59 PASS parseThenSerializeRule(':-webkit-drag { }') is ':-webkit-drag { }' 59 PASS parseThenSerializeRule(':-webkit-drag { }') is ':-webkit-drag { }'
60 60
61 PASS parseThenSerializeRule('::-webkit-file-upload-button { }') is '::-webkit-fi le-upload-button { }' 61 PASS parseThenSerializeRule('::-webkit-file-upload-button { }') is '*::-webkit-f ile-upload-button { }'
62 PASS parseThenSerializeRule('::-webkit-search-cancel-button { }') is '::-webkit- search-cancel-button { }' 62 PASS parseThenSerializeRule('::-webkit-search-cancel-button { }') is '*::-webkit -search-cancel-button { }'
63 PASS parseThenSerializeRule('::-webkit-search-decoration { }') is '::-webkit-sea rch-decoration { }' 63 PASS parseThenSerializeRule('::-webkit-search-decoration { }') is '*::-webkit-se arch-decoration { }'
64 PASS parseThenSerializeRule('::-webkit-search-results-button { }') is '::-webkit -search-results-button { }' 64 PASS parseThenSerializeRule('::-webkit-search-results-button { }') is '*::-webki t-search-results-button { }'
65 PASS parseThenSerializeRule('::-webkit-search-results-decoration { }') is '::-we bkit-search-results-decoration { }' 65 PASS parseThenSerializeRule('::-webkit-search-results-decoration { }') is '*::-w ebkit-search-results-decoration { }'
66 PASS parseThenSerializeRule('::-webkit-slider-thumb { }') is '::-webkit-slider-t humb { }' 66 PASS parseThenSerializeRule('::-webkit-slider-thumb { }') is '*::-webkit-slider- thumb { }'
67 67
68 PASS parseThenSerializeRule('a::-webkit-slider-thumb { }') is 'a::-webkit-slider -thumb { }' 68 PASS parseThenSerializeRule('a::-webkit-slider-thumb { }') is 'a::-webkit-slider -thumb { }'
69 PASS parseThenSerializeRule('a ::-webkit-slider-thumb { }') is 'a ::-webkit-slid er-thumb { }' 69 PASS parseThenSerializeRule('a ::-webkit-slider-thumb { }') is 'a *::-webkit-sli der-thumb { }'
70 PASS parseThenSerializeRule('[a]::-webkit-slider-thumb { }') is '[a]::-webkit-sl ider-thumb { }' 70 PASS parseThenSerializeRule('[a]::-webkit-slider-thumb { }') is '[a]::-webkit-sl ider-thumb { }'
71 PASS parseThenSerializeRule('[a] ::-webkit-slider-thumb { }') is '[a] ::-webkit- slider-thumb { }' 71 PASS parseThenSerializeRule('[a] ::-webkit-slider-thumb { }') is '[a] *::-webkit -slider-thumb { }'
72 PASS parseThenSerializeRule('.a::-webkit-slider-thumb { }') is '.a::-webkit-slid er-thumb { }' 72 PASS parseThenSerializeRule('.a::-webkit-slider-thumb { }') is '.a::-webkit-slid er-thumb { }'
73 PASS parseThenSerializeRule('.a ::-webkit-slider-thumb { }') is '.a ::-webkit-sl ider-thumb { }' 73 PASS parseThenSerializeRule('.a ::-webkit-slider-thumb { }') is '.a *::-webkit-s lider-thumb { }'
74 PASS parseThenSerializeRule('#a::-webkit-slider-thumb { }') is '#a::-webkit-slid er-thumb { }' 74 PASS parseThenSerializeRule('#a::-webkit-slider-thumb { }') is '#a::-webkit-slid er-thumb { }'
75 PASS parseThenSerializeRule('#a ::-webkit-slider-thumb { }') is '#a ::-webkit-sl ider-thumb { }' 75 PASS parseThenSerializeRule('#a ::-webkit-slider-thumb { }') is '#a *::-webkit-s lider-thumb { }'
76 PASS parseThenSerializeRule('* ::-webkit-slider-thumb { }') is '* *::-webkit-sli der-thumb { }'
77
78 PASS parseThenSerializeRule('a[b]::-webkit-slider-thumb { }') is 'a[b]::-webkit- slider-thumb { }'
79 PASS parseThenSerializeRule('a.b::-webkit-slider-thumb { }') is 'a.b::-webkit-sl ider-thumb { }'
80 PASS parseThenSerializeRule('a#b::-webkit-slider-thumb { }') is 'a#b::-webkit-sl ider-thumb { }'
81 PASS parseThenSerializeRule('a[b].c#d::-webkit-slider-thumb { }') is 'a[b].c#d:: -webkit-slider-thumb { }'
76 82
77 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 { }'
78 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any( [type="file"]) { }' 84 PASS parseThenSerializeRule(':-webkit-any([type="file"]) { }') is ':-webkit-any( [type="file"]) { }'
79 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover) { }' 85 PASS parseThenSerializeRule(':-webkit-any(:hover) { }') is ':-webkit-any(:hover) { }'
80 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 { }'
81 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) { }'
82 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) { }'
83 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any( .class1:hover) { }' 89 PASS parseThenSerializeRule(':-webkit-any(.class1:hover) { }') is ':-webkit-any( .class1:hover) { }'
84 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) { }'
85 91
86 PASS parseThenSerializeRule('*:active { }') is ':active { }' 92 PASS parseThenSerializeRule('*:active { }') is ':active { }'
87 PASS parseThenSerializeRule('|a { }') is 'a { }' 93 PASS parseThenSerializeRule('|a { }') is 'a { }'
88 94
89 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"] :focus { }' 95 PASS parseThenSerializeRule('input[type=file]:focus { }') is 'input[type="file"] :focus { }'
90 96
91 PASS parseThenSerializeRule('a+b { }') is 'a + b { }' 97 PASS parseThenSerializeRule('a+b { }') is 'a + b { }'
92 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }' 98 PASS parseThenSerializeRule('a~b { }') is 'a ~ b { }'
93 PASS parseThenSerializeRule('a>b { }') is 'a > b { }' 99 PASS parseThenSerializeRule('a>b { }') is 'a > b { }'
94 100
95 PASS parseThenSerializeRule(':after { }') is '::after { }' 101 PASS parseThenSerializeRule(':after { }') is '::after { }'
96 PASS parseThenSerializeRule(':before { }') is '::before { }' 102 PASS parseThenSerializeRule(':before { }') is '::before { }'
97 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }' 103 PASS parseThenSerializeRule(':first-letter { }') is '::first-letter { }'
98 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }' 104 PASS parseThenSerializeRule(':first-line { }') is '::first-line { }'
99 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]) { }'
100 106
101 PASS successfullyParsed is true 107 PASS successfullyParsed is true
102 108
103 TEST COMPLETE 109 TEST COMPLETE
104 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