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