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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/rgba-parsing-expected.txt

Issue 2629163002: Revert of Fix RGBA alpha parsing and serialization to adhere to W3 standard. (Closed)
Patch Set: fix conflicts Created 3 years, 11 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 Test rgba() color parsing results 1 Test rgba() color parsing results
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 parse('rgba(0.9.9%, 0%, 0%, 1)') is 'RGBA[102, 102, 102, 255]' 6 PASS parse('rgba(0.9.9%, 0%, 0%, 1)') is 'RGBA[102, 102, 102, 255]'
7 PASS parse('rgba(0, 0.., 0, 1)') is 'RGBA[102, 102, 102, 255]' 7 PASS parse('rgba(0, 0.., 0, 1)') is 'RGBA[102, 102, 102, 255]'
8 PASS parse('rgba(10%, .%, 0%, 1)') is 'RGBA[102, 102, 102, 255]' 8 PASS parse('rgba(10%, .%, 0%, 1)') is 'RGBA[102, 102, 102, 255]'
9 PASS parse('rgba(13.37%1337%, 5%, 50.0%, 1)') is 'RGBA[102, 102, 102, 255]' 9 PASS parse('rgba(13.37%1337%, 5%, 50.0%, 1)') is 'RGBA[102, 102, 102, 255]'
10 PASS parse('rgba(%, 50%, 50.0%, 1)') is 'RGBA[102, 102, 102, 255]' 10 PASS parse('rgba(%, 50%, 50.0%, 1)') is 'RGBA[102, 102, 102, 255]'
(...skipping 12 matching lines...) Expand all
23 PASS parse('rgba(0, 0, 0, -0.10)') is 'RGBA[0, 0, 0, 0]' 23 PASS parse('rgba(0, 0, 0, -0.10)') is 'RGBA[0, 0, 0, 0]'
24 PASS parse('rgba(0, 0, 0, -5.0)') is 'RGBA[0, 0, 0, 0]' 24 PASS parse('rgba(0, 0, 0, -5.0)') is 'RGBA[0, 0, 0, 0]'
25 PASS parse('rgba(0, 0, 0, 5.0)') is 'RGBA[0, 0, 0, 255]' 25 PASS parse('rgba(0, 0, 0, 5.0)') is 'RGBA[0, 0, 0, 255]'
26 PASS parse('rgba(0, 0, 0, -1)') is 'RGBA[0, 0, 0, 0]' 26 PASS parse('rgba(0, 0, 0, -1)') is 'RGBA[0, 0, 0, 0]'
27 PASS parse('rgba(0, 0, 0, 0)') is 'RGBA[0, 0, 0, 0]' 27 PASS parse('rgba(0, 0, 0, 0)') is 'RGBA[0, 0, 0, 0]'
28 PASS parse('rgba(0, 0, 0, 2)') is 'RGBA[0, 0, 0, 255]' 28 PASS parse('rgba(0, 0, 0, 2)') is 'RGBA[0, 0, 0, 255]'
29 PASS parse('rgba(0, 0, 0, 2.0)') is 'RGBA[0, 0, 0, 255]' 29 PASS parse('rgba(0, 0, 0, 2.0)') is 'RGBA[0, 0, 0, 255]'
30 PASS parse('rgba(0, 0, 0, 0.0)') is 'RGBA[0, 0, 0, 0]' 30 PASS parse('rgba(0, 0, 0, 0.0)') is 'RGBA[0, 0, 0, 0]'
31 PASS parse('rgba(0, 0, 0, 00.0)') is 'RGBA[0, 0, 0, 0]' 31 PASS parse('rgba(0, 0, 0, 00.0)') is 'RGBA[0, 0, 0, 0]'
32 PASS parse('rgba(0, 0, 0, 0.00)') is 'RGBA[0, 0, 0, 0]' 32 PASS parse('rgba(0, 0, 0, 0.00)') is 'RGBA[0, 0, 0, 0]'
33 PASS parse('rgba(0, 0, 0, .1)') is 'RGBA[0, 0, 0, 26]' 33 PASS parse('rgba(0, 0, 0, .1)') is 'RGBA[0, 0, 0, 25]'
34 PASS parse('rgba(0, 0, 0, .2)') is 'RGBA[0, 0, 0, 51]' 34 PASS parse('rgba(0, 0, 0, .2)') is 'RGBA[0, 0, 0, 51]'
35 PASS parse('rgba(0, 0, 0, .3)') is 'RGBA[0, 0, 0, 77]' 35 PASS parse('rgba(0, 0, 0, .3)') is 'RGBA[0, 0, 0, 76]'
36 PASS parse('rgba(0, 0, 0, .4)') is 'RGBA[0, 0, 0, 102]' 36 PASS parse('rgba(0, 0, 0, .4)') is 'RGBA[0, 0, 0, 102]'
37 PASS parse('rgba(0, 0, 0, .5)') is 'RGBA[0, 0, 0, 128]' 37 PASS parse('rgba(0, 0, 0, .5)') is 'RGBA[0, 0, 0, 127]'
38 PASS parse('rgba(0, 0, 0, .6)') is 'RGBA[0, 0, 0, 153]' 38 PASS parse('rgba(0, 0, 0, .6)') is 'RGBA[0, 0, 0, 153]'
39 PASS parse('rgba(0, 0, 0, .7)') is 'RGBA[0, 0, 0, 179]' 39 PASS parse('rgba(0, 0, 0, .7)') is 'RGBA[0, 0, 0, 179]'
40 PASS parse('rgba(0, 0, 0, .8)') is 'RGBA[0, 0, 0, 204]' 40 PASS parse('rgba(0, 0, 0, .8)') is 'RGBA[0, 0, 0, 204]'
41 PASS parse('rgba(0, 0, 0, .9)') is 'RGBA[0, 0, 0, 230]' 41 PASS parse('rgba(0, 0, 0, .9)') is 'RGBA[0, 0, 0, 230]'
42 PASS parse('rgba(0, 0, 0, 0.1)') is 'RGBA[0, 0, 0, 26]' 42 PASS parse('rgba(0, 0, 0, 0.1)') is 'RGBA[0, 0, 0, 25]'
43 PASS parse('rgba(0, 0, 0, 0.2)') is 'RGBA[0, 0, 0, 51]' 43 PASS parse('rgba(0, 0, 0, 0.2)') is 'RGBA[0, 0, 0, 51]'
44 PASS parse('rgba(0, 0, 0, 0.3)') is 'RGBA[0, 0, 0, 77]' 44 PASS parse('rgba(0, 0, 0, 0.3)') is 'RGBA[0, 0, 0, 76]'
45 PASS parse('rgba(0, 0, 0, 0.4)') is 'RGBA[0, 0, 0, 102]' 45 PASS parse('rgba(0, 0, 0, 0.4)') is 'RGBA[0, 0, 0, 102]'
46 PASS parse('rgba(0, 0, 0, 0.5)') is 'RGBA[0, 0, 0, 128]' 46 PASS parse('rgba(0, 0, 0, 0.5)') is 'RGBA[0, 0, 0, 127]'
47 PASS parse('rgba(0, 0, 0, 0.6)') is 'RGBA[0, 0, 0, 153]' 47 PASS parse('rgba(0, 0, 0, 0.6)') is 'RGBA[0, 0, 0, 153]'
48 PASS parse('rgba(0, 0, 0, 0.7)') is 'RGBA[0, 0, 0, 179]' 48 PASS parse('rgba(0, 0, 0, 0.7)') is 'RGBA[0, 0, 0, 179]'
49 PASS parse('rgba(0, 0, 0, 0.8)') is 'RGBA[0, 0, 0, 204]' 49 PASS parse('rgba(0, 0, 0, 0.8)') is 'RGBA[0, 0, 0, 204]'
50 PASS parse('rgba(0, 0, 0, 0.9)') is 'RGBA[0, 0, 0, 230]' 50 PASS parse('rgba(0, 0, 0, 0.9)') is 'RGBA[0, 0, 0, 230]'
51 PASS parse('rgba(0, 0, 0, 1.0)') is 'RGBA[0, 0, 0, 255]' 51 PASS parse('rgba(0, 0, 0, 1.0)') is 'RGBA[0, 0, 0, 255]'
52 PASS parse('rgba(0, 0, 0, 0.10)') is 'RGBA[0, 0, 0, 26]' 52 PASS parse('rgba(0, 0, 0, 0.10)') is 'RGBA[0, 0, 0, 25]'
53 PASS parse('rgba(0, 0, 0, 0.20)') is 'RGBA[0, 0, 0, 51]' 53 PASS parse('rgba(0, 0, 0, 0.20)') is 'RGBA[0, 0, 0, 51]'
54 PASS parse('rgba(0, 0, 0, 0.30)') is 'RGBA[0, 0, 0, 77]' 54 PASS parse('rgba(0, 0, 0, 0.30)') is 'RGBA[0, 0, 0, 76]'
55 PASS parse('rgba(0, 0, 0, 0.40)') is 'RGBA[0, 0, 0, 102]' 55 PASS parse('rgba(0, 0, 0, 0.40)') is 'RGBA[0, 0, 0, 102]'
56 PASS parse('rgba(0, 0, 0, 0.50)') is 'RGBA[0, 0, 0, 128]' 56 PASS parse('rgba(0, 0, 0, 0.50)') is 'RGBA[0, 0, 0, 127]'
57 PASS parse('rgba(0, 0, 0, 0.60)') is 'RGBA[0, 0, 0, 153]' 57 PASS parse('rgba(0, 0, 0, 0.60)') is 'RGBA[0, 0, 0, 153]'
58 PASS parse('rgba(0, 0, 0, 0.70)') is 'RGBA[0, 0, 0, 179]' 58 PASS parse('rgba(0, 0, 0, 0.70)') is 'RGBA[0, 0, 0, 179]'
59 PASS parse('rgba(0, 0, 0, 0.80)') is 'RGBA[0, 0, 0, 204]' 59 PASS parse('rgba(0, 0, 0, 0.80)') is 'RGBA[0, 0, 0, 204]'
60 PASS parse('rgba(0, 0, 0, 0.90)') is 'RGBA[0, 0, 0, 230]' 60 PASS parse('rgba(0, 0, 0, 0.90)') is 'RGBA[0, 0, 0, 230]'
61 PASS parse('rgba(0, 0, 0, 1.00)') is 'RGBA[0, 0, 0, 255]' 61 PASS parse('rgba(0, 0, 0, 1.00)') is 'RGBA[0, 0, 0, 255]'
62 PASS parse('rgba(0, 0, 0, .10)') is 'RGBA[0, 0, 0, 26]' 62 PASS parse('rgba(0, 0, 0, .10)') is 'RGBA[0, 0, 0, 25]'
63 PASS parse('rgba(0, 0, 0, .20)') is 'RGBA[0, 0, 0, 51]' 63 PASS parse('rgba(0, 0, 0, .20)') is 'RGBA[0, 0, 0, 51]'
64 PASS parse('rgba(0, 0, 0, .30)') is 'RGBA[0, 0, 0, 77]' 64 PASS parse('rgba(0, 0, 0, .30)') is 'RGBA[0, 0, 0, 76]'
65 PASS parse('rgba(0, 0, 0, .40)') is 'RGBA[0, 0, 0, 102]' 65 PASS parse('rgba(0, 0, 0, .40)') is 'RGBA[0, 0, 0, 102]'
66 PASS parse('rgba(0, 0, 0, .50)') is 'RGBA[0, 0, 0, 128]' 66 PASS parse('rgba(0, 0, 0, .50)') is 'RGBA[0, 0, 0, 127]'
67 PASS parse('rgba(0, 0, 0, .60)') is 'RGBA[0, 0, 0, 153]' 67 PASS parse('rgba(0, 0, 0, .60)') is 'RGBA[0, 0, 0, 153]'
68 PASS parse('rgba(0, 0, 0, .70)') is 'RGBA[0, 0, 0, 179]' 68 PASS parse('rgba(0, 0, 0, .70)') is 'RGBA[0, 0, 0, 179]'
69 PASS parse('rgba(0, 0, 0, .80)') is 'RGBA[0, 0, 0, 204]' 69 PASS parse('rgba(0, 0, 0, .80)') is 'RGBA[0, 0, 0, 204]'
70 PASS parse('rgba(0, 0, 0, .90)') is 'RGBA[0, 0, 0, 230]' 70 PASS parse('rgba(0, 0, 0, .90)') is 'RGBA[0, 0, 0, 230]'
71 PASS parse('rgba(0, 0, 0, 0.10000000000000000000000)') is 'RGBA[0, 0, 0, 26]' 71 PASS parse('rgba(0, 0, 0, 0.10000000000000000000000)') is 'RGBA[0, 0, 0, 25]'
72 PASS parse('rgba(0, 0, 0, 0.20000000000000000000000)') is 'RGBA[0, 0, 0, 51]' 72 PASS parse('rgba(0, 0, 0, 0.20000000000000000000000)') is 'RGBA[0, 0, 0, 51]'
73 PASS parse('rgba(0, 0, 0, 0.30000000000000000000000)') is 'RGBA[0, 0, 0, 77]' 73 PASS parse('rgba(0, 0, 0, 0.30000000000000000000000)') is 'RGBA[0, 0, 0, 76]'
74 PASS parse('rgba(0, 0, 0, 0.40000000000000000000000)') is 'RGBA[0, 0, 0, 102]' 74 PASS parse('rgba(0, 0, 0, 0.40000000000000000000000)') is 'RGBA[0, 0, 0, 102]'
75 PASS parse('rgba(0, 0, 0, 0.50000000000000000000000)') is 'RGBA[0, 0, 0, 128]' 75 PASS parse('rgba(0, 0, 0, 0.50000000000000000000000)') is 'RGBA[0, 0, 0, 127]'
76 PASS parse('rgba(0, 0, 0, 0.60000000000000000000000)') is 'RGBA[0, 0, 0, 153]' 76 PASS parse('rgba(0, 0, 0, 0.60000000000000000000000)') is 'RGBA[0, 0, 0, 153]'
77 PASS parse('rgba(0, 0, 0, 0.70000000000000000000000)') is 'RGBA[0, 0, 0, 179]' 77 PASS parse('rgba(0, 0, 0, 0.70000000000000000000000)') is 'RGBA[0, 0, 0, 179]'
78 PASS parse('rgba(0, 0, 0, 0.80000000000000000000000)') is 'RGBA[0, 0, 0, 204]' 78 PASS parse('rgba(0, 0, 0, 0.80000000000000000000000)') is 'RGBA[0, 0, 0, 204]'
79 PASS parse('rgba(0, 0, 0, 0.90000000000000000000000)') is 'RGBA[0, 0, 0, 230]' 79 PASS parse('rgba(0, 0, 0, 0.90000000000000000000000)') is 'RGBA[0, 0, 0, 230]'
80 PASS parse('rgba(0, 0, 0, 1.00000000000000000000000)') is 'RGBA[0, 0, 0, 255]' 80 PASS parse('rgba(0, 0, 0, 1.00000000000000000000000)') is 'RGBA[0, 0, 0, 255]'
81 PASS parse('rgba(0, 0, 0, 0.990)') is 'RGBA[0, 0, 0, 252]' 81 PASS parse('rgba(0, 0, 0, 0.990)') is 'RGBA[0, 0, 0, 253]'
82 PASS parse('rgba(0, 0, 0, 0.991)') is 'RGBA[0, 0, 0, 253]' 82 PASS parse('rgba(0, 0, 0, 0.991)') is 'RGBA[0, 0, 0, 253]'
83 PASS parse('rgba(0, 0, 0, 0.992)') is 'RGBA[0, 0, 0, 253]' 83 PASS parse('rgba(0, 0, 0, 0.992)') is 'RGBA[0, 0, 0, 253]'
84 PASS parse('rgba(0, 0, 0, 0.993)') is 'RGBA[0, 0, 0, 253]' 84 PASS parse('rgba(0, 0, 0, 0.993)') is 'RGBA[0, 0, 0, 254]'
85 PASS parse('rgba(0, 0, 0, 0.994)') is 'RGBA[0, 0, 0, 253]' 85 PASS parse('rgba(0, 0, 0, 0.994)') is 'RGBA[0, 0, 0, 254]'
86 PASS parse('rgba(0, 0, 0, 0.995)') is 'RGBA[0, 0, 0, 254]' 86 PASS parse('rgba(0, 0, 0, 0.995)') is 'RGBA[0, 0, 0, 254]'
87 PASS parse('rgba(0, 0, 0, 0.996)') is 'RGBA[0, 0, 0, 254]' 87 PASS parse('rgba(0, 0, 0, 0.996)') is 'RGBA[0, 0, 0, 254]'
88 PASS parse('rgba(0, 0, 0, 0.997)') is 'RGBA[0, 0, 0, 254]' 88 PASS parse('rgba(0, 0, 0, 0.997)') is 'RGBA[0, 0, 0, 255]'
89 PASS parse('rgba(0, 0, 0, 0.998)') is 'RGBA[0, 0, 0, 254]' 89 PASS parse('rgba(0, 0, 0, 0.998)') is 'RGBA[0, 0, 0, 255]'
90 PASS parse('rgba(0, 0, 0, 0.999)') is 'RGBA[0, 0, 0, 255]' 90 PASS parse('rgba(0, 0, 0, 0.999)') is 'RGBA[0, 0, 0, 255]'
91 PASS successfullyParsed is true 91 PASS successfullyParsed is true
92 92
93 TEST COMPLETE 93 TEST COMPLETE
94 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698