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

Side by Side Diff: LayoutTests/css-parser/color3-expected.txt

Issue 603443002: Don't add '(' to FUNCTION token names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@internalsetshadowunused
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/css/CSSCalculationValue.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Color test for resources/css-parsing-tests/color3.json 1 Color test for resources/css-parsing-tests/color3.json
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 colorTest.parseColor("") is "parse error" 6 PASS colorTest.parseColor("") is "parse error"
7 PASS colorTest.parseColor(" /* hey */\n") is "parse error" 7 PASS colorTest.parseColor(" /* hey */\n") is "parse error"
8 FAIL colorTest.parseColor("4") should be parse error. Was rgb(0, 0, 4). 8 FAIL colorTest.parseColor("4") should be parse error. Was rgb(0, 0, 4).
9 PASS colorTest.parseColor("top") is "parse error" 9 PASS colorTest.parseColor("top") is "parse error"
10 PASS colorTest.parseColor("/**/transparent") is "rgba(0, 0, 0, 0)" 10 PASS colorTest.parseColor("/**/transparent") is "rgba(0, 0, 0, 0)"
(...skipping 16 matching lines...) Expand all
27 PASS colorTest.parseColor("#ffff") is "parse error" 27 PASS colorTest.parseColor("#ffff") is "parse error"
28 PASS colorTest.parseColor("#fffff") is "parse error" 28 PASS colorTest.parseColor("#fffff") is "parse error"
29 PASS colorTest.parseColor("#ffffff") is "rgb(255, 255, 255)" 29 PASS colorTest.parseColor("#ffffff") is "rgb(255, 255, 255)"
30 PASS colorTest.parseColor("#fffffg") is "parse error" 30 PASS colorTest.parseColor("#fffffg") is "parse error"
31 PASS colorTest.parseColor("#fffffff") is "parse error" 31 PASS colorTest.parseColor("#fffffff") is "parse error"
32 PASS colorTest.parseColor("#ffffffff") is "parse error" 32 PASS colorTest.parseColor("#ffffffff") is "parse error"
33 PASS colorTest.parseColor("#fffffffff") is "parse error" 33 PASS colorTest.parseColor("#fffffffff") is "parse error"
34 PASS colorTest.parseColor("#FFCc99") is "rgb(255, 204, 153)" 34 PASS colorTest.parseColor("#FFCc99") is "rgb(255, 204, 153)"
35 PASS colorTest.parseColor("#369") is "rgb(51, 102, 153)" 35 PASS colorTest.parseColor("#369") is "rgb(51, 102, 153)"
36 PASS colorTest.parseColor("rgb(00, 51, 102)") is "rgb(0, 51, 102)" 36 PASS colorTest.parseColor("rgb(00, 51, 102)") is "rgb(0, 51, 102)"
37 FAIL colorTest.parseColor("r\\gb(00, 51, 102)") should be rgb(0, 51, 102). Was p arse error. 37 PASS colorTest.parseColor("r\\gb(00, 51, 102)") is "rgb(0, 51, 102)"
38 FAIL colorTest.parseColor("r\\67 b(00, 51, 102)") should be rgb(0, 51, 102). Was parse error. 38 PASS colorTest.parseColor("r\\67 b(00, 51, 102)") is "rgb(0, 51, 102)"
39 PASS colorTest.parseColor("RGB(153, 204, 255)") is "rgb(153, 204, 255)" 39 PASS colorTest.parseColor("RGB(153, 204, 255)") is "rgb(153, 204, 255)"
40 PASS colorTest.parseColor("rgB(0, 0, 0)") is "rgb(0, 0, 0)" 40 PASS colorTest.parseColor("rgB(0, 0, 0)") is "rgb(0, 0, 0)"
41 PASS colorTest.parseColor("rgB(0, 51, 255)") is "rgb(0, 51, 255)" 41 PASS colorTest.parseColor("rgB(0, 51, 255)") is "rgb(0, 51, 255)"
42 PASS colorTest.parseColor("rgb(0,51,255)") is "rgb(0, 51, 255)" 42 PASS colorTest.parseColor("rgb(0,51,255)") is "rgb(0, 51, 255)"
43 PASS colorTest.parseColor("rgb(0 , 51 ,255)") is "rgb(0, 51, 255)" 43 PASS colorTest.parseColor("rgb(0 , 51 ,255)") is "rgb(0, 51, 255)"
44 PASS colorTest.parseColor("rgb(/* R */0, /* G */51, /* B */255)") is "rgb(0, 51, 255)" 44 PASS colorTest.parseColor("rgb(/* R */0, /* G */51, /* B */255)") is "rgb(0, 51, 255)"
45 FAIL colorTest.parseColor("rgb(-51, 306, 0)") should be rgb(-51, 306, 0). Was rg b(0, 255, 0). 45 FAIL colorTest.parseColor("rgb(-51, 306, 0)") should be rgb(-51, 306, 0). Was rg b(0, 255, 0).
46 FAIL colorTest.parseColor("rgb(42%, 3%, 50%)") should be rgb(107, 7, 127). Was r gb(107, 7, 128). 46 FAIL colorTest.parseColor("rgb(42%, 3%, 50%)") should be rgb(107, 7, 127). Was r gb(107, 7, 128).
47 PASS colorTest.parseColor("RGB(100%, 100%, 100%)") is "rgb(255, 255, 255)" 47 PASS colorTest.parseColor("RGB(100%, 100%, 100%)") is "rgb(255, 255, 255)"
48 PASS colorTest.parseColor("rgB(0%, 0%, 0%)") is "rgb(0, 0, 0)" 48 PASS colorTest.parseColor("rgB(0%, 0%, 0%)") is "rgb(0, 0, 0)"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 PASS colorTest.parseColor("hsla()") is "parse error" 126 PASS colorTest.parseColor("hsla()") is "parse error"
127 PASS colorTest.parseColor("hsla(0)") is "parse error" 127 PASS colorTest.parseColor("hsla(0)") is "parse error"
128 PASS colorTest.parseColor("hsla(0, 0%)") is "parse error" 128 PASS colorTest.parseColor("hsla(0, 0%)") is "parse error"
129 PASS colorTest.parseColor("hsla(0, 0%, 0%, 50%)") is "parse error" 129 PASS colorTest.parseColor("hsla(0, 0%, 0%, 50%)") is "parse error"
130 PASS colorTest.parseColor("hsla(0, 0%, 0%, 1, 0%)") is "parse error" 130 PASS colorTest.parseColor("hsla(0, 0%, 0%, 1, 0%)") is "parse error"
131 PASS colorTest.parseColor("cmyk(0, 0, 0, 0)") is "parse error" 131 PASS colorTest.parseColor("cmyk(0, 0, 0, 0)") is "parse error"
132 PASS successfullyParsed is true 132 PASS successfullyParsed is true
133 133
134 TEST COMPLETE 134 TEST COMPLETE
135 135
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSCalculationValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698