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

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

Issue 1936913002: [CSS] Accept 8 (#RRGGBBAA) and 4 (#RGBA) value hex colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add quirks mode fastParseColorInternal() test cases. Created 4 years, 7 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 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 blue: 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
21 Failed to parse: #fffff 20 Failed to parse: #fffff
22 Failed to parse: #fffffff 21 Failed to parse: #fffffff
23 Failed to parse: green, 22 Failed to parse: green,
24 Parsed as rgb(0, 10, 20): rgb(0, 10, 20) 23 Parsed as rgb(0, 10, 20): rgb(0, 10, 20)
25 Parsed as rgb(255, 255, 255): #fff 24 Parsed as rgb(255, 255, 255): #fff
25 Parsed as rgb(255, 255, 255): #ffff
26 Parsed as rgb(255, 255, 255): #ffffff 26 Parsed as rgb(255, 255, 255): #ffffff
27 Parsed as rgb(255, 255, 255): #ffffffff
27 Parsed as rgb(255, 255, 255): #FFF 28 Parsed as rgb(255, 255, 255): #FFF
28 Parsed as rgb(255, 255, 255): #FFFFFF 29 Parsed as rgb(255, 255, 255): #FFFFFF
29 Parsed as green: green 30 Parsed as green: green
30 Parsed as green: green 31 Parsed as green: green
31 Parsed as green: green 32 Parsed as green: green
32 Failed to parse: rgb(.78-2e8e 33 Failed to parse: rgb(.78-2e8e
33 Failed to parse: rgb(% 34 Failed to parse: rgb(%
34 Failed to parse: rgb(7 35 Failed to parse: rgb(7
35 Failed to parse: rgb(e+ 36 Failed to parse: rgb(e+
36 Failed to parse: rgb( 37 Failed to parse: rgb(
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 Failed to parse: rgb(.27+ 281 Failed to parse: rgb(.27+
281 Failed to parse: rgb( 282 Failed to parse: rgb(
282 Failed to parse: 283 Failed to parse:
283 Failed to parse: 284 Failed to parse:
284 Failed to parse: rgb() 285 Failed to parse: rgb()
285 Parsed as rgb(0, 255, 0): #0f0 286 Parsed as rgb(0, 255, 0): #0f0
286 PASS successfullyParsed is true 287 PASS successfullyParsed is true
287 288
288 TEST COMPLETE 289 TEST COMPLETE
289 290
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698