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

Side by Side Diff: third_party/WebKit/LayoutTests/css-parser/resources/css-parsing-tests/color3.json

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 [ 1 [
2 "", null, 2 "", null,
3 " /* hey */\n", null, 3 " /* hey */\n", null,
4 "4", null, 4 "4", null,
5 "top", null, 5 "top", null,
6 "/**/transparent", [0, 0, 0, 0], 6 "/**/transparent", [0, 0, 0, 0],
7 "transparent", [0, 0, 0, 0], 7 "transparent", [0, 0, 0, 0],
8 " transparent\n", [0, 0, 0, 0], 8 " transparent\n", [0, 0, 0, 0],
9 "TransParent", [0, 0, 0, 0], 9 "TransParent", [0, 0, 0, 0],
10 "currentColor", "currentColor", 10 "currentColor", "currentColor",
11 "CURRENTcolor", "currentColor", 11 "CURRENTcolor", "currentColor",
12 "current-Color", null, 12 "current-Color", null,
13 13
14 "black", [0, 0, 0, 1], 14 "black", [0, 0, 0, 1],
15 "white", [1, 1, 1, 1], 15 "white", [1, 1, 1, 1],
16 "fuchsia", [1, 0, 1, 1], 16 "fuchsia", [1, 0, 1, 1],
17 "cyan", [0, 1, 1, 1], 17 "cyan", [0, 1, 1, 1],
18 "CyAn", [0, 1, 1, 1], 18 "CyAn", [0, 1, 1, 1],
19 19
20 "#", null, 20 "#", null,
21 "#f", null, 21 "#f", null,
22 "#ff", null, 22 "#ff", null,
23 "#fff", [1, 1, 1, 1], 23 "#fff", [1, 1, 1, 1],
24 "#ffg", null, 24 "#ffg", null,
25 "#ffff", null, 25 "#ffff", [1, 1, 1, 1],
26 "#fffg", null,
26 "#fffff", null, 27 "#fffff", null,
27 "#ffffff", [1, 1, 1, 1], 28 "#ffffff", [1, 1, 1, 1],
28 "#fffffg", null, 29 "#fffffg", null,
29 "#fffffff", null, 30 "#fffffff", null,
30 "#ffffffff", null, 31 "#ffffffff", [1, 1, 1, 1],
32 "#fffffffg", null,
31 "#fffffffff", null, 33 "#fffffffff", null,
32 34
33 "#FFCc99", [1, 0.8, 0.6, 1], 35 "#FFCc99", [1, 0.8, 0.6, 1],
34 "#369", [0.2, 0.4, 0.6, 1], 36 "#369", [0.2, 0.4, 0.6, 1],
35 37
36 "rgb(00, 51, 102)", [0, 0.2, 0.4, 1], 38 "rgb(00, 51, 102)", [0, 0.2, 0.4, 1],
37 "r\\gb(00, 51, 102)", [0, 0.2, 0.4, 1], 39 "r\\gb(00, 51, 102)", [0, 0.2, 0.4, 1],
38 "r\\67 b(00, 51, 102)", [0, 0.2, 0.4, 1], 40 "r\\67 b(00, 51, 102)", [0, 0.2, 0.4, 1],
39 "RGB(153, 204, 255)", [0.6, 0.8, 1, 1], 41 "RGB(153, 204, 255)", [0.6, 0.8, 1, 1],
40 "rgB(0, 0, 0)", [0, 0, 0, 1], 42 "rgB(0, 0, 0)", [0, 0, 0, 1],
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 "hsla(30deg, 100%, 100%, 1)", null, 135 "hsla(30deg, 100%, 100%, 1)", null,
134 "hsla(0, 0%, light, 1)", null, 136 "hsla(0, 0%, light, 1)", null,
135 "hsla()", null, 137 "hsla()", null,
136 "hsla(0)", null, 138 "hsla(0)", null,
137 "hsla(0, 0%)", null, 139 "hsla(0, 0%)", null,
138 "hsla(0, 0%, 0%, 50%)", null, 140 "hsla(0, 0%, 0%, 50%)", null,
139 "hsla(0, 0%, 0%, 1, 0%)", null, 141 "hsla(0, 0%, 0%, 1, 0%)", null,
140 142
141 "cmyk(0, 0, 0, 0)", null 143 "cmyk(0, 0, 0, 0)", null
142 ] 144 ]
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/css-parser/color3-expected.txt ('k') | third_party/WebKit/LayoutTests/fast/css/hex-colors.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698