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

Side by Side Diff: LayoutTests/svg/dom/rgb-color-parser-expected.txt

Issue 1219153003: Unify handling of <color> for SVG/non-SVG properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
1 This test fuzzes the color parser with semi-random attribute values and dumps th e results of any values that parse successfully. 1 This test fuzzes the color parser with semi-random attribute values and dumps th e results of any values that parse successfully.
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 Parsed as rgb(0, 0, 255): blue 6 Parsed as blue: blue
7 Parsed as rgb(0, 255, 0): rgb(0, 255, 0) 7 Parsed as rgb(0, 255, 0): rgb(0, 255, 0)
8 Parsed as rgb(255, 255, 0): rgb(100%,100%,0% 8 Parsed as rgb(255, 255, 0): rgb(100%,100%,0%
9 Failed to parse: rgba(100%,100%,0% 9 Failed to parse: rgba(100%,100%,0%
10 Failed to parse: rgb(100%,100%,r) 10 Failed to parse: rgb(100%,100%,r)
11 Failed to parse: rgb (100%,100%,r) 11 Failed to parse: rgb (100%,100%,r)
12 Failed to parse: rgb(100%, 1, 1) 12 Failed to parse: rgb(100%, 1, 1)
13 Failed to parse: hsl(100%,100%,100%) 13 Failed to parse: hsl(100%,100%,100%)
14 Failed to parse: yello 14 Failed to parse: yello
15 Failed to parse: !#fff 15 Failed to parse: !#fff
16 Failed to parse: #sdf 16 Failed to parse: #sdf
17 Failed to parse: # 17 Failed to parse: #
18 Failed to parse: #f 18 Failed to parse: #f
19 Failed to parse: #ff 19 Failed to parse: #ff
20 Failed to parse: #ffff 20 Failed to parse: #ffff
21 Failed to parse: #fffff 21 Failed to parse: #fffff
22 Failed to parse: #fffffff 22 Failed to parse: #fffffff
23 Failed to parse: green, 23 Failed to parse: green,
24 Parsed as rgb(0, 10, 20): rgb(0, 10, 20) 24 Parsed as rgb(0, 10, 20): rgb(0, 10, 20)
25 Parsed as rgb(255, 255, 255): #fff 25 Parsed as rgb(255, 255, 255): #fff
26 Parsed as rgb(255, 255, 255): #ffffff 26 Parsed as rgb(255, 255, 255): #ffffff
27 Parsed as rgb(255, 255, 255): #FFF 27 Parsed as rgb(255, 255, 255): #FFF
28 Parsed as rgb(255, 255, 255): #FFFFFF 28 Parsed as rgb(255, 255, 255): #FFFFFF
29 Parsed as rgb(0, 128, 0): green 29 Parsed as green: green
30 Parsed as rgb(0, 128, 0): green 30 Parsed as green: green
31 Parsed as rgb(0, 128, 0): green 31 Parsed as green: green
32 Failed to parse: rgb(.78-2e8e 32 Failed to parse: rgb(.78-2e8e
33 Failed to parse: rgb(% 33 Failed to parse: rgb(%
34 Failed to parse: rgb(7 34 Failed to parse: rgb(7
35 Failed to parse: rgb(e+ 35 Failed to parse: rgb(e+
36 Failed to parse: rgb( 36 Failed to parse: rgb(
37 Failed to parse: rgb( -2e9%0.795e0,). 37 Failed to parse: rgb( -2e9%0.795e0,).
38 Failed to parse: rgb(%,4+7).-(%+ 8 38 Failed to parse: rgb(%,4+7).-(%+ 8
39 Failed to parse: rgb(74).9 +(.% 0 635 39 Failed to parse: rgb(74).9 +(.% 0 635
40 Failed to parse: rgb()9,- 8 7%4%9%%. 40 Failed to parse: rgb()9,- 8 7%4%9%%.
41 Failed to parse: rgb(49),,4-30378 052 41 Failed to parse: rgb(49),,4-30378 052
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 Failed to parse: rgb(.27+ 280 Failed to parse: rgb(.27+
281 Failed to parse: rgb( 281 Failed to parse: rgb(
282 Failed to parse: 282 Failed to parse:
283 Failed to parse: 283 Failed to parse:
284 Failed to parse: rgb() 284 Failed to parse: rgb()
285 Parsed as rgb(0, 255, 0): #0f0 285 Parsed as rgb(0, 255, 0): #0f0
286 PASS successfullyParsed is true 286 PASS successfullyParsed is true
287 287
288 TEST COMPLETE 288 TEST COMPLETE
289 289
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698