Add CSS -webkit-appearance property for Apple Pay buttons
[WebKit-https.git] / Source / WebCore / platform / ColorData.gperf
1 %{
2 #include "HashTools.h"
3 #include <string.h>
4
5 #if defined(__clang__)
6 #pragma clang diagnostic push
7 #pragma clang diagnostic ignored "-Wunknown-pragmas"
8 #pragma clang diagnostic ignored "-Wdeprecated-register"
9 #pragma clang diagnostic ignored "-Wimplicit-fallthrough"
10 #endif
11
12 namespace WebCore {
13 %}
14 %struct-type
15 struct NamedColor;
16 %omit-struct-type
17 %language=C++
18 %readonly-tables
19 %global-table
20 %compare-strncmp
21 %define class-name ColorDataHash
22 %define lookup-function-name findColorImpl
23 %define hash-function-name colordata_hash_function
24 %enum
25 %%
26 aliceblue, 0xfff0f8ff
27 antiquewhite, 0xfffaebd7
28 aqua, 0xff00ffff
29 aquamarine, 0xff7fffd4
30 azure, 0xfff0ffff
31 beige, 0xfff5f5dc
32 bisque, 0xffffe4c4
33 black, 0xff000000
34 blanchedalmond, 0xffffebcd
35 blue, 0xff0000ff
36 blueviolet, 0xff8a2be2
37 brown, 0xffa52a2a
38 burlywood, 0xffdeb887
39 cadetblue, 0xff5f9ea0
40 chartreuse, 0xff7fff00
41 chocolate, 0xffd2691e
42 coral, 0xffff7f50
43 cornflowerblue, 0xff6495ed
44 cornsilk, 0xfffff8dc
45 crimson, 0xffdc143c
46 cyan, 0xff00ffff
47 darkblue, 0xff00008b
48 darkcyan, 0xff008b8b
49 darkgoldenrod, 0xffb8860b
50 darkgray, 0xffa9a9a9
51 darkgrey, 0xffa9a9a9
52 darkgreen, 0xff006400
53 darkkhaki, 0xffbdb76b
54 darkmagenta, 0xff8b008b
55 darkolivegreen, 0xff556b2f
56 darkorange, 0xffff8c00
57 darkorchid, 0xff9932cc
58 darkred, 0xff8b0000
59 darksalmon, 0xffe9967a
60 darkseagreen, 0xff8fbc8f
61 darkslateblue, 0xff483d8b
62 darkslategray, 0xff2f4f4f
63 darkslategrey, 0xff2f4f4f
64 darkturquoise, 0xff00ced1
65 darkviolet, 0xff9400d3
66 deeppink, 0xffff1493
67 deepskyblue, 0xff00bfff
68 dimgray, 0xff696969
69 dimgrey, 0xff696969
70 dodgerblue, 0xff1e90ff
71 firebrick, 0xffb22222
72 floralwhite, 0xfffffaf0
73 forestgreen, 0xff228b22
74 fuchsia, 0xffff00ff
75 gainsboro, 0xffdcdcdc
76 ghostwhite, 0xfff8f8ff
77 gold, 0xffffd700
78 goldenrod, 0xffdaa520
79 gray, 0xff808080
80 grey, 0xff808080
81 green, 0xff008000
82 greenyellow, 0xffadff2f
83 honeydew, 0xfff0fff0
84 hotpink, 0xffff69b4
85 indianred, 0xffcd5c5c
86 indigo, 0xff4b0082
87 ivory, 0xfffffff0
88 khaki, 0xfff0e68c
89 lavender, 0xffe6e6fa
90 lavenderblush, 0xfffff0f5
91 lawngreen, 0xff7cfc00
92 lemonchiffon, 0xfffffacd
93 lightblue, 0xffadd8e6
94 lightcoral, 0xfff08080
95 lightcyan, 0xffe0ffff
96 lightgoldenrodyellow, 0xfffafad2
97 lightgray, 0xffd3d3d3
98 lightgrey, 0xffd3d3d3
99 lightgreen, 0xff90ee90
100 lightpink, 0xffffb6c1
101 lightsalmon, 0xffffa07a
102 lightseagreen, 0xff20b2aa
103 lightskyblue, 0xff87cefa
104 lightslateblue, 0xff8470ff
105 lightslategray, 0xff778899
106 lightslategrey, 0xff778899
107 lightsteelblue, 0xffb0c4de
108 lightyellow, 0xffffffe0
109 lime, 0xff00ff00
110 limegreen, 0xff32cd32
111 linen, 0xfffaf0e6
112 magenta, 0xffff00ff
113 maroon, 0xff800000
114 mediumaquamarine, 0xff66cdaa
115 mediumblue, 0xff0000cd
116 mediumorchid, 0xffba55d3
117 mediumpurple, 0xff9370db
118 mediumseagreen, 0xff3cb371
119 mediumslateblue, 0xff7b68ee
120 mediumspringgreen, 0xff00fa9a
121 mediumturquoise, 0xff48d1cc
122 mediumvioletred, 0xffc71585
123 midnightblue, 0xff191970
124 mintcream, 0xfff5fffa
125 mistyrose, 0xffffe4e1
126 moccasin, 0xffffe4b5
127 navajowhite, 0xffffdead
128 navy, 0xff000080
129 oldlace, 0xfffdf5e6
130 olive, 0xff808000
131 olivedrab, 0xff6b8e23
132 orange, 0xffffa500
133 orangered, 0xffff4500
134 orchid, 0xffda70d6
135 palegoldenrod, 0xffeee8aa
136 palegreen, 0xff98fb98
137 paleturquoise, 0xffafeeee
138 palevioletred, 0xffdb7093
139 papayawhip, 0xffffefd5
140 peachpuff, 0xffffdab9
141 peru, 0xffcd853f
142 pink, 0xffffc0cb
143 plum, 0xffdda0dd
144 powderblue, 0xffb0e0e6
145 purple, 0xff800080
146 rebeccapurple, 0xff663399
147 red, 0xffff0000
148 rosybrown, 0xffbc8f8f
149 royalblue, 0xff4169e1
150 saddlebrown, 0xff8b4513
151 salmon, 0xfffa8072
152 sandybrown, 0xfff4a460
153 seagreen, 0xff2e8b57
154 seashell, 0xfffff5ee
155 sienna, 0xffa0522d
156 silver, 0xffc0c0c0
157 skyblue, 0xff87ceeb
158 slateblue, 0xff6a5acd
159 slategray, 0xff708090
160 slategrey, 0xff708090
161 snow, 0xfffffafa
162 springgreen, 0xff00ff7f
163 steelblue, 0xff4682b4
164 tan, 0xffd2b48c
165 teal, 0xff008080
166 thistle, 0xffd8bfd8
167 tomato, 0xffff6347
168 transparent, 0x00000000
169 turquoise, 0xff40e0d0
170 violet, 0xffee82ee
171 violetred, 0xffd02090
172 wheat, 0xfff5deb3
173 white, 0xffffffff
174 whitesmoke, 0xfff5f5f5
175 yellow, 0xffffff00
176 yellowgreen, 0xff9acd32
177 %%
178 const struct NamedColor* findColor(const char* str, unsigned int len)
179 {
180     return ColorDataHash::findColorImpl(str, len);
181 }
182
183 } // namespace WebCore
184
185 #if defined(__clang__)
186 #pragma clang diagnostic pop
187 #endif