1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
|
/*
* This file is part of LibCSS.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
*/
#ifndef css_parse_properties_properties_h_
#define css_parse_properties_properties_h_
#include "stylesheet.h"
#include "lex/lex.h"
#include "parse/language.h"
#include "parse/propstrings.h"
/**
* Type of property handler function
*/
typedef css_error (*css_prop_handler)(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
extern const css_prop_handler property_handlers[LAST_PROP + 1 - FIRST_PROP];
css_error parse_azimuth(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_background(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_background_attachment(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_background_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_background_image(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_background_position(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_background_repeat(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_bottom(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_bottom_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_bottom_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_bottom_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_collapse(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_left(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_left_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_left_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_left_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_right(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_right_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_right_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_right_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_spacing(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_top(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_top_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_top_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_top_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_border_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_bottom(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_caption_side(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_clear(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_clip(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_content(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_counter_increment(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_counter_reset(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_cue(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_cue_after(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_cue_before(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_cursor(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_direction(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_display(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_elevation(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_empty_cells(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_float(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_font(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_font_family(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_font_size(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_font_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_font_variant(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_font_weight(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_height(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_left(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_letter_spacing(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_line_height(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_list_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_list_style_image(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_list_style_position(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_list_style_type(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_margin(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_margin_bottom(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_margin_left(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_margin_right(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_margin_top(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_max_height(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_max_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_min_height(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_min_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_orphans(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_outline(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_outline_color(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_outline_style(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_outline_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_overflow(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_padding(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_padding_bottom(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_padding_left(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_padding_right(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_padding_top(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_page_break_after(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_page_break_before(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_page_break_inside(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_pause(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_pause_after(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_pause_before(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_pitch_range(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_pitch(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_play_during(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_position(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_quotes(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_richness(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_right(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_speak_header(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_speak_numeral(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_speak_punctuation(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_speak(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_speech_rate(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_stress(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_table_layout(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_text_align(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_text_decoration(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_text_indent(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_text_transform(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_top(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_unicode_bidi(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_vertical_align(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_visibility(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_voice_family(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_volume(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_white_space(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_widows(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_width(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_word_spacing(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_z_index(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
css_error parse_libcss_align(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style **result);
#endif
|