don't discard iframe children.
[kdelibs.git] / khtml / misc / htmlnames.h
blobbaa7bca814b05b2b41c432664cd65896d1ea9737
1 /* This file is automatically generated from htmltags.in and htmlattrs.in by gennames.py, do not edit */
2 /* Copyright 2008 Vyacheslav Tokarev */
4 #ifndef HTMLNames_h
5 #define HTMLNames_h
7 #include "misc/idstring.h"
9 #define XHTML_NAMESPACE "http://www.w3.org/1999/xhtml"
10 #define SVG_NAMESPACE "http://www.w3.org/2000/svg"
11 #define XLINK_NAMESPACE "http://www.w3.org/1999/xlink"
13 #define ID_A 1
14 #define ID_ABBR 2
15 #define ATTR_ABBR 65538
16 #define ID_ACRONYM 3
17 #define ID_ADDRESS 4
18 #define ID_APPLET 5
19 #define ID_AREA 6
20 #define ID_AUDIO 7
21 #define ID_B 8
22 #define ID_BASE 9
23 #define ID_BASEFONT 10
24 #define ID_BDO 11
25 #define ID_BIG 12
26 #define ID_BLOCKQUOTE 13
27 #define ID_BODY 14
28 #define ID_BR 15
29 #define ID_BUTTON 16
30 #define ID_CANVAS 17
31 #define ID_CAPTION 18
32 #define ID_CENTER 19
33 #define ID_CITE 20
34 #define ATTR_CITE 65556
35 #define ID_CODE 21
36 #define ATTR_CODE 65557
37 #define ID_COL 22
38 #define ID_COLGROUP 23
39 #define ID_DD 24
40 #define ID_DEL 25
41 #define ID_DFN 26
42 #define ID_DIR 27
43 #define ATTR_DIR 65563
44 #define ID_DIV 28
45 #define ID_DL 29
46 #define ID_DT 30
47 #define ID_EM 31
48 #define ID_EMBED 32
49 #define ID_FIELDSET 33
50 #define ID_FONT 34
51 #define ID_FORM 35
52 #define ID_FRAME 36
53 #define ATTR_FRAME 65572
54 #define ID_FRAMESET 37
55 #define ID_H1 38
56 #define ID_H2 39
57 #define ID_H3 40
58 #define ID_H4 41
59 #define ID_H5 42
60 #define ID_H6 43
61 #define ID_HEAD 44
62 #define ID_HR 45
63 #define ID_HTML 46
64 #define ATTR_HTML 65582
65 #define ID_I 47
66 #define ID_IFRAME 48
67 #define ID_ILAYER 49
68 #define ID_IMAGE 50
69 #define ID_IMG 51
70 #define ID_INPUT 52
71 #define ID_INS 53
72 #define ID_ISINDEX 54
73 #define ID_KBD 55
74 #define ID_KEYGEN 56
75 #define ID_LABEL 57
76 #define ATTR_LABEL 65593
77 #define ID_LAYER 58
78 #define ID_LEGEND 59
79 #define ID_LI 60
80 #define ID_LINK 61
81 #define ATTR_LINK 65597
82 #define ID_LISTING 62
83 #define ID_MAP 63
84 #define ID_MARQUEE 64
85 #define ID_MENU 65
86 #define ID_META 66
87 #define ID_NOBR 67
88 #define ID_NOEMBED 68
89 #define ID_NOFRAMES 69
90 #define ID_NOSCRIPT 70
91 #define ID_NOLAYER 71
92 #define ID_OBJECT 72
93 #define ATTR_OBJECT 65608
94 #define ID_OL 73
95 #define ID_OPTGROUP 74
96 #define ID_OPTION 75
97 #define ID_P 76
98 #define ID_PARAM 77
99 #define ID_PLAINTEXT 78
100 #define ID_PRE 79
101 #define ID_Q 80
102 #define ID_S 81
103 #define ID_SAMP 82
104 #define ID_SCRIPT 83
105 #define ID_SELECT 84
106 #define ID_SMALL 85
107 #define ID_SOURCE 86
108 #define ID_SPAN 87
109 #define ATTR_SPAN 65623
110 #define ID_STRIKE 88
111 #define ID_STRONG 89
112 #define ID_STYLE 90
113 #define ATTR_STYLE 65626
114 #define ID_SUB 91
115 #define ID_SUP 92
116 #define ID_TABLE 93
117 #define ID_TBODY 94
118 #define ID_TD 95
119 #define ID_TEXTAREA 96
120 #define ID_TFOOT 97
121 #define ID_TH 98
122 #define ID_THEAD 99
123 #define ID_TITLE 100
124 #define ATTR_TITLE 65636
125 #define ID_TR 101
126 #define ID_TT 102
127 #define ID_U 103
128 #define ID_UL 104
129 #define ID_VAR 105
130 #define ID_VIDEO 106
131 #define ID_WBR 107
132 #define ID_XMP 108
133 #define ID_TEXT 109
134 #define ID_COMMENT 110
135 #define ATTR_ACCEPT_CHARSET 65647
136 #define ATTR_ACCEPT 65648
137 #define ATTR_ACCESSKEY 65649
138 #define ATTR_ALIGN 65650
139 #define ATTR_ALINK 65651
140 #define ATTR_AUTOCOMPLETE 65652
141 #define ATTR_AUTOPLAY 65653
142 #define ATTR_AXIS 65654
143 #define ATTR_BEHAVIOR 65655
144 #define ATTR_BGCOLOR 65656
145 #define ATTR_BGPROPERTIES 65657
146 #define ATTR_BORDER 65658
147 #define ATTR_BORDERCOLOR 65659
148 #define ATTR_CELLPADDING 65660
149 #define ATTR_CELLSPACING 65661
150 #define ATTR_CHAR 65662
151 #define ATTR_CHALLENGE 65663
152 #define ATTR_CHAROFF 65664
153 #define ATTR_CHARSET 65665
154 #define ATTR_CHECKED 65666
155 #define ATTR_CLEAR 65667
156 #define ATTR_CODETYPE 65668
157 #define ATTR_COLOR 65669
158 #define ATTR_COLS 65670
159 #define ATTR_COLSPAN 65671
160 #define ATTR_COMPACT 65672
161 #define ATTR_CONTENTEDITABLE 65673
162 #define ATTR_CONTROLS 65674
163 #define ATTR_COORDS 65675
164 #define ATTR_DECLARE 65676
165 #define ATTR_DEFER 65677
166 #define ATTR_DIRECTION 65678
167 #define ATTR_DISABLED 65679
168 #define ATTR_ENCTYPE 65680
169 #define ATTR_END 65681
170 #define ATTR_FACE 65682
171 #define ATTR_FRAMEBORDER 65683
172 #define ATTR_HEIGHT 65684
173 #define ATTR_HIDDEN 65685
174 #define ATTR_HREFLANG 65686
175 #define ATTR_HSPACE 65687
176 #define ATTR_HTTP_EQUIV 65688
177 #define ATTR_ISMAP 65689
178 #define ATTR_LANG 65690
179 #define ATTR_LANGUAGE 65691
180 #define ATTR_LEFT 65692
181 #define ATTR_LEFTMARGIN 65693
182 #define ATTR_LOOP 65694
183 #define ATTR_LOOPEND 65695
184 #define ATTR_LOOPSTART 65696
185 #define ATTR_MARGINHEIGHT 65697
186 #define ATTR_MARGINWIDTH 65698
187 #define ATTR_MAXLENGTH 65699
188 #define ATTR_MEDIA 65700
189 #define ATTR_METHOD 65701
190 #define ATTR_MULTIPLE 65702
191 #define ATTR_NOHREF 65703
192 #define ATTR_NORESIZE 65704
193 #define ATTR_NOSAVE 65705
194 #define ATTR_NOSHADE 65706
195 #define ATTR_NOWRAP 65707
196 #define ATTR_ONABORT 65708
197 #define ATTR_ONERROR 65709
198 #define ATTR_ONRESIZE 65710
199 #define ATTR_OVERSRC 65711
200 #define ATTR_PAGEX 65712
201 #define ATTR_PAGEY 65713
202 #define ATTR_PLAIN 65714
203 #define ATTR_PLAYCOUNT 65715
204 #define ATTR_PLUGINPAGE 65716
205 #define ATTR_PLUGINSPAGE 65717
206 #define ATTR_PLUGINURL 65718
207 #define ATTR_POSTER 65719
208 #define ATTR_READONLY 65720
209 #define ATTR_REL 65721
210 #define ATTR_REV 65722
211 #define ATTR_ROWS 65723
212 #define ATTR_ROWSPAN 65724
213 #define ATTR_RULES 65725
214 #define ATTR_SCOPE 65726
215 #define ATTR_SCROLLAMOUNT 65727
216 #define ATTR_SCROLLDELAY 65728
217 #define ATTR_SCROLLING 65729
218 #define ATTR_SELECTED 65730
219 #define ATTR_SHAPE 65731
220 #define ATTR_SIZE 65732
221 #define ATTR_START 65733
222 #define ATTR_TABINDEX 65734
223 #define ATTR_TARGET 65735
224 #define ATTR_TEXT 65736
225 #define ATTR_TOP 65737
226 #define ATTR_TOPMARGIN 65738
227 #define ATTR_TRUESPEED 65739
228 #define ATTR_TYPE 65740
229 #define ATTR_UNKNOWN 65741
230 #define ATTR_VALIGN 65742
231 #define ATTR_VALUETYPE 65743
232 #define ATTR_VERSION 65744
233 #define ATTR_VISIBILITY 65745
234 #define ATTR_VLINK 65746
235 #define ATTR_VSPACE 65747
236 #define ATTR_WIDTH 65748
237 #define ATTR_WRAP 65749
238 #define ATTR_Z_INDEX 65750
239 #define ATTR_ACTION 65751
240 #define ATTR_ALT 65752
241 #define ATTR_ARCHIVE 65753
242 #define ATTR_BACKGROUND 65754
243 #define ATTR_CLASS 65755
244 #define ATTR_CLASSID 65756
245 #define ATTR_CODEBASE 65757
246 #define ATTR_CONTENT 65758
247 #define ATTR_DATA 65759
248 #define ATTR_DATETIME 65760
249 #define ATTR_FOR 65761
250 #define ATTR_HEADERS 65762
251 #define ATTR_HREF 65763
252 #define ATTR_ID 65764
253 #define ATTR_LONGDESC 65765
254 #define ATTR_NAME 65766
255 #define ATTR_ONBLUR 65767
256 #define ATTR_ONCHANGE 65768
257 #define ATTR_ONCLICK 65769
258 #define ATTR_ONDBLCLICK 65770
259 #define ATTR_ONFOCUS 65771
260 #define ATTR_ONKEYDOWN 65772
261 #define ATTR_ONKEYPRESS 65773
262 #define ATTR_ONKEYUP 65774
263 #define ATTR_ONLOAD 65775
264 #define ATTR_ONMOUSEDOWN 65776
265 #define ATTR_ONMOUSEMOVE 65777
266 #define ATTR_ONMOUSEOUT 65778
267 #define ATTR_ONMOUSEOVER 65779
268 #define ATTR_ONMOUSEUP 65780
269 #define ATTR_ONRESET 65781
270 #define ATTR_ONSELECT 65782
271 #define ATTR_ONSCROLL 65783
272 #define ATTR_ONSUBMIT 65784
273 #define ATTR_ONUNLOAD 65785
274 #define ATTR_PROFILE 65786
275 #define ATTR_PROMPT 65787
276 #define ATTR_SCHEME 65788
277 #define ATTR_SRC 65789
278 #define ATTR_STANDBY 65790
279 #define ATTR_SUMMARY 65791
280 #define ATTR_USEMAP 65792
281 #define ATTR_VALUE 65793
282 #define ID_ALTGLYPH 258
283 #define ID_ALTGLYPHDEF 259
284 #define ID_ALTGLYPHITEM 260
285 #define ID_ANIMATE 261
286 #define ATTR_ANIMATE 65797
287 #define ID_ANIMATECOLOR 262
288 #define ID_ANIMATEMOTION 263
289 #define ID_ANIMATETRANSFORM 264
290 #define ID_SET 265
291 #define ID_CIRCLE 266
292 #define ID_CLIPPATH 267
293 #define ID_COLOR_PROFILE 268
294 #define ID_CURSOR 269
295 #define ATTR_CURSOR 65805
296 #define ID_DEFINITION_SRC 270
297 #define ID_DEFS 271
298 #define ID_DESC 272
299 #define ID_ELLIPSE 273
300 #define ID_FEBLEND 274
301 #define ID_FECOLORMATRIX 275
302 #define ATTR_FECOLORMATRIX 65811
303 #define ID_FECOMPONENTTRANSFER 276
304 #define ID_FECOMPOSITE 277
305 #define ATTR_FECOMPOSITE 65813
306 #define ID_FECONVOLVEMATRIX 278
307 #define ID_FEDIFFUSELIGHTING 279
308 #define ID_FEDISPLACEMENTMAP 280
309 #define ID_FEDISTANTLIGHT 281
310 #define ID_FEFLOOD 282
311 #define ID_FEFUNCA 283
312 #define ID_FEFUNCB 284
313 #define ID_FEFUNCG 285
314 #define ID_FEFUNCR 286
315 #define ID_FEGAUSSIANBLUR 287
316 #define ATTR_FEGAUSSIANBLUR 65823
317 #define ID_FEIMAGE 288
318 #define ID_FEMERGE 289
319 #define ID_FEMERGENODE 290
320 #define ID_FEMORPHOLOGY 291
321 #define ATTR_FEMORPHOLOGY 65827
322 #define ID_FEOFFSET 292
323 #define ID_FEPOINTLIGHT 293
324 #define ID_FESPECULARLIGHTING 294
325 #define ID_FESPOTLIGHT 295
326 #define ID_FETILE 296
327 #define ATTR_FETILE 65832
328 #define ID_FETURBULENCE 297
329 #define ID_FILTER 298
330 #define ATTR_FILTER 65834
331 #define ID_FONT_FACE 299
332 #define ID_FONT_FACE_FORMAT 300
333 #define ID_FONT_FACE_NAME 301
334 #define ID_FONT_FACE_SRC 302
335 #define ID_FONT_FACE_URI 303
336 #define ID_FOREIGNOBJECT 304
337 #define ID_G 305
338 #define ID_GLYPH 306
339 #define ID_GLYPHREF 307
340 #define ATTR_GLYPHREF 65843
341 #define ID_HKERN 308
342 #define ID_LINE 309
343 #define ID_LINEARGRADIENT 310
344 #define ID_MARKER 311
345 #define ID_MASK 312
346 #define ATTR_MASK 65848
347 #define ID_METADATA 313
348 #define ID_MISSING_GLYPH 314
349 #define ID_MPATH 315
350 #define ID_PATH 316
351 #define ATTR_PATH 65852
352 #define ID_PATTERN 317
353 #define ID_POLYGON 318
354 #define ID_POLYLINE 319
355 #define ID_RADIALGRADIENT 320
356 #define ID_RECT 321
357 #define ID_STOP 322
358 #define ID_SVG 323
359 #define ID_SWITCH 324
360 #define ID_SYMBOL 325
361 #define ID_TEXTPATH 326
362 #define ID_TREF 327
363 #define ID_TSPAN 328
364 #define ID_USE 329
365 #define ID_VIEW 330
366 #define ID_VKERN 331
367 #define ATTR_ACCENT_HEIGHT 65868
368 #define ATTR_ACCUMULATE 65869
369 #define ATTR_ADDITIVE 65870
370 #define ATTR_ALIGNMENT_BASELINE 65871
371 #define ATTR_ALPHABETIC 65872
372 #define ATTR_AMPLITUDE 65873
373 #define ATTR_ARABIC_FORM 65874
374 #define ATTR_ASCENT 65875
375 #define ATTR_ATTRIBUTENAME 65876
376 #define ATTR_ATTRIBUTETYPE 65877
377 #define ATTR_AZIMUTH 65878
378 #define ATTR_BASEFREQUENCY 65879
379 #define ATTR_BASELINE_SHIFT 65880
380 #define ATTR_BASEPROFILE 65881
381 #define ATTR_BBOX 65882
382 #define ATTR_BEGIN 65883
383 #define ATTR_BIAS 65884
384 #define ATTR_BY 65885
385 #define ATTR_CALCMODE 65886
386 #define ATTR_CAP_HEIGHT 65887
387 #define ATTR_CLIP 65888
388 #define ATTR_CLIP_PATH 65889
389 #define ATTR_CLIP_RULE 65890
390 #define ATTR_CLIPPATHUNITS 65891
391 #define ATTR_COLOR_INTERPOLATION 65892
392 #define ATTR_COLOR_INTERPOLATION_FILTERS 65893
393 #define ATTR_COLOR_PROFILE 65894
394 #define ATTR_COLOR_RENDERING 65895
395 #define ATTR_CONTENTSCRIPTTYPE 65896
396 #define ATTR_CONTENTSTYLETYPE 65897
397 #define ATTR_CX 65898
398 #define ATTR_CY 65899
399 #define ATTR_D 65900
400 #define ATTR_DESCENT 65901
401 #define ATTR_DIFFUSECONSTANT 65902
402 #define ATTR_DISPLAY 65903
403 #define ATTR_DIVISOR 65904
404 #define ATTR_DOMINANT_BASELINE 65905
405 #define ATTR_DUR 65906
406 #define ATTR_DX 65907
407 #define ATTR_DY 65908
408 #define ATTR_EDGEMODE 65909
409 #define ATTR_ELEVATION 65910
410 #define ATTR_ENABLE_BACKGROUND 65911
411 #define ATTR_EXPONENT 65912
412 #define ATTR_EXTERNALRESOURCESREQUIRED 65913
413 #define ATTR_FILL 65914
414 #define ATTR_FILL_OPACITY 65915
415 #define ATTR_FILL_RULE 65916
416 #define ATTR_FILTERRES 65917
417 #define ATTR_FILTERUNITS 65918
418 #define ATTR_FLOOD_COLOR 65919
419 #define ATTR_FLOOD_OPACITY 65920
420 #define ATTR_FONT_FAMILY 65921
421 #define ATTR_FONT_SIZE 65922
422 #define ATTR_FONT_SIZE_ADJUST 65923
423 #define ATTR_FONT_STRETCH 65924
424 #define ATTR_FONT_STYLE 65925
425 #define ATTR_FONT_VARIANT 65926
426 #define ATTR_FONT_WEIGHT 65927
427 #define ATTR_FORMAT 65928
428 #define ATTR_FROM 65929
429 #define ATTR_FX 65930
430 #define ATTR_FY 65931
431 #define ATTR_G1 65932
432 #define ATTR_G2 65933
433 #define ATTR_GLYPH_NAME 65934
434 #define ATTR_GLYPH_ORIENTATION_HORIZONTAL 65935
435 #define ATTR_GLYPH_ORIENTATION_VERTICAL 65936
436 #define ATTR_GRADIENTTRANSFORM 65937
437 #define ATTR_GRADIENTUNITS 65938
438 #define ATTR_HANGING 65939
439 #define ATTR_HORIZ_ADV_X 65940
440 #define ATTR_HORIZ_ORIGIN_X 65941
441 #define ATTR_HORIZ_ORIGIN_Y 65942
442 #define ATTR_IDEOGRAPHIC 65943
443 #define ATTR_IMAGE_RENDERING 65944
444 #define ATTR_IN 65945
445 #define ATTR_IN2 65946
446 #define ATTR_INTERCEPT 65947
447 #define ATTR_K 65948
448 #define ATTR_K1 65949
449 #define ATTR_K2 65950
450 #define ATTR_K3 65951
451 #define ATTR_K4 65952
452 #define ATTR_KERNELMATRIX 65953
453 #define ATTR_KERNELUNITLENGTH 65954
454 #define ATTR_KERNING 65955
455 #define ATTR_KEYPOINTS 65956
456 #define ATTR_KEYSPLINES 65957
457 #define ATTR_KEYTIMES 65958
458 #define ATTR_LENGTHADJUST 65959
459 #define ATTR_LETTER_SPACING 65960
460 #define ATTR_LIGHTING_COLOR 65961
461 #define ATTR_LIMITINGCONEANGLE 65962
462 #define ATTR_LOCAL 65963
463 #define ATTR_MARKER_END 65964
464 #define ATTR_MARKER_MID 65965
465 #define ATTR_MARKER_START 65966
466 #define ATTR_MARKERHEIGHT 65967
467 #define ATTR_MARKERUNITS 65968
468 #define ATTR_MARKERWIDTH 65969
469 #define ATTR_MASKCONTENTUNITS 65970
470 #define ATTR_MASKUNITS 65971
471 #define ATTR_MATHEMATICAL 65972
472 #define ATTR_MAX 65973
473 #define ATTR_MIN 65974
474 #define ATTR_MODE 65975
475 #define ATTR_NUMOCTAVES 65976
476 #define ATTR_OFFSET 65977
477 #define ATTR_ONACTIVATE 65978
478 #define ATTR_ONBEGIN 65979
479 #define ATTR_ONEND 65980
480 #define ATTR_ONFOCUSIN 65981
481 #define ATTR_ONFOCUSOUT 65982
482 #define ATTR_ONREPEAT 65983
483 #define ATTR_ONZOOM 65984
484 #define ATTR_OPACITY 65985
485 #define ATTR_OPERATOR 65986
486 #define ATTR_ORDER 65987
487 #define ATTR_ORIENT 65988
488 #define ATTR_ORIENTATION 65989
489 #define ATTR_ORIGIN 65990
490 #define ATTR_OVERFLOW 65991
491 #define ATTR_OVERLINE_POSITION 65992
492 #define ATTR_OVERLINE_THICKNESS 65993
493 #define ATTR_PANOSE_1 65994
494 #define ATTR_PATHLENGTH 65995
495 #define ATTR_PATTERNCONTENTUNITS 65996
496 #define ATTR_PATTERNTRANSFORM 65997
497 #define ATTR_PATTERNUNITS 65998
498 #define ATTR_POINTER_EVENTS 65999
499 #define ATTR_POINTS 66000
500 #define ATTR_POINTSATX 66001
501 #define ATTR_POINTSATY 66002
502 #define ATTR_POINTSATZ 66003
503 #define ATTR_PRESERVEALPHA 66004
504 #define ATTR_PRESERVEASPECTRATIO 66005
505 #define ATTR_PRIMITIVEUNITS 66006
506 #define ATTR_R 66007
507 #define ATTR_RADIUS 66008
508 #define ATTR_REFX 66009
509 #define ATTR_REFY 66010
510 #define ATTR_RENDERING_INTENT 66011
511 #define ATTR_REPEATCOUNT 66012
512 #define ATTR_REPEATDUR 66013
513 #define ATTR_REQUIREDEXTENSIONS 66014
514 #define ATTR_REQUIREDFEATURES 66015
515 #define ATTR_RESTART 66016
516 #define ATTR_RESULT 66017
517 #define ATTR_ROTATE 66018
518 #define ATTR_RX 66019
519 #define ATTR_RY 66020
520 #define ATTR_SCALE 66021
521 #define ATTR_SEED 66022
522 #define ATTR_SHAPE_RENDERING 66023
523 #define ATTR_SLOPE 66024
524 #define ATTR_SPACING 66025
525 #define ATTR_SPECULARCONSTANT 66026
526 #define ATTR_SPECULAREXPONENT 66027
527 #define ATTR_SPREADMETHOD 66028
528 #define ATTR_STARTOFFSET 66029
529 #define ATTR_STDDEVIATION 66030
530 #define ATTR_STEMH 66031
531 #define ATTR_STEMV 66032
532 #define ATTR_STITCHTILES 66033
533 #define ATTR_STOP_COLOR 66034
534 #define ATTR_STOP_OPACITY 66035
535 #define ATTR_STRIKETHROUGH_POSITION 66036
536 #define ATTR_STRIKETHROUGH_THICKNESS 66037
537 #define ATTR_STROKE 66038
538 #define ATTR_STROKE_DASHARRAY 66039
539 #define ATTR_STROKE_DASHOFFSET 66040
540 #define ATTR_STROKE_LINECAP 66041
541 #define ATTR_STROKE_LINEJOIN 66042
542 #define ATTR_STROKE_MITERLIMIT 66043
543 #define ATTR_STROKE_OPACITY 66044
544 #define ATTR_STROKE_WIDTH 66045
545 #define ATTR_SURFACESCALE 66046
546 #define ATTR_SYSTEMLANGUAGE 66047
547 #define ATTR_TABLEVALUES 66048
548 #define ATTR_TARGETX 66049
549 #define ATTR_TARGETY 66050
550 #define ATTR_TEXT_ANCHOR 66051
551 #define ATTR_TEXT_DECORATION 66052
552 #define ATTR_TEXT_RENDERING 66053
553 #define ATTR_TEXTLENGTH 66054
554 #define ATTR_TO 66055
555 #define ATTR_TRANSFORM 66056
556 #define ATTR_U1 66057
557 #define ATTR_U2 66058
558 #define ATTR_UNDERLINE_POSITION 66059
559 #define ATTR_UNDERLINE_THICKNESS 66060
560 #define ATTR_UNICODE 66061
561 #define ATTR_UNICODE_BIDI 66062
562 #define ATTR_UNICODE_RANGE 66063
563 #define ATTR_UNITS_PER_EM 66064
564 #define ATTR_V_ALPHABETIC 66065
565 #define ATTR_V_HANGING 66066
566 #define ATTR_V_IDEOGRAPHIC 66067
567 #define ATTR_V_MATHEMATICAL 66068
568 #define ATTR_VALUES 66069
569 #define ATTR_VERT_ADV_Y 66070
570 #define ATTR_VERT_ORIGIN_X 66071
571 #define ATTR_VERT_ORIGIN_Y 66072
572 #define ATTR_VIEWBOX 66073
573 #define ATTR_VIEWTARGET 66074
574 #define ATTR_WIDTHS 66075
575 #define ATTR_WORD_SPACING 66076
576 #define ATTR_WRITING_MODE 66077
577 #define ATTR_X 66078
578 #define ATTR_X_HEIGHT 66079
579 #define ATTR_X1 66080
580 #define ATTR_X2 66081
581 #define ATTR_XCHANNELSELECTOR 66082
582 #define ATTR_Y 66083
583 #define ATTR_Y1 66084
584 #define ATTR_Y2 66085
585 #define ATTR_YCHANNELSELECTOR 66086
586 #define ATTR_Z 66087
587 #define ATTR_ZOOMANDPAN 66088
588 #define ATTR_ACTUATE 66089
589 #define ATTR_ARCROLE 66090
590 #define ATTR_ROLE 66091
591 #define ATTR_SHOW 66092
592 #define ID_LAST_TAG 110
593 #define ID_CLOSE_TAG 16384
594 #define ATTR_LAST_ATTR 257
595 #define ATTR_LAST_CI_ATTR 214
597 #define caseSensitiveAttr(id) (((localNamePart(id)) > ATTR_LAST_CI_ATTR || (id) == ATTR_ABBR || (id) == ATTR_CITE || (id) == ATTR_CODE || (id) == ATTR_LABEL || (id) == ATTR_OBJECT || (id) == ATTR_TITLE))
599 namespace DOM {
601 #define NodeImpl_IdNSMask 0xffff0000
602 #define NodeImpl_IdLocalMask 0x0000ffff
604 const quint16 xhtmlNamespace = 0;
605 const quint16 emptyNamespace = 1;
606 const quint16 svgNamespace = 2;
607 const quint16 xlinkNamespace = 3;
608 const quint16 anyNamespace = 0xffff;
609 const quint16 anyLocalName = 0xffff;
610 const quint16 emptyPrefix = 0;
612 inline quint16 localNamePart(quint32 id) { return id & NodeImpl_IdLocalMask; }
613 inline quint16 namespacePart(quint32 id) { return (((unsigned int)id) & NodeImpl_IdNSMask) >> 16; }
614 inline quint32 makeId(quint16 n, quint16 l) { return (n << 16) | l; }
616 const quint32 anyQName = makeId(anyNamespace, anyLocalName);
620 namespace khtml {
622 class NamespaceFactory {
623 public:
624 static IDTable<NamespaceFactory>* idTable() {
625 return s_idTable;
627 static IDTable<NamespaceFactory>* initIdTable();
628 protected:
629 static IDTable<NamespaceFactory>* s_idTable;
632 class LocalNameFactory {
633 public:
634 static IDTable<LocalNameFactory>* idTable() {
635 return s_idTable;
637 static IDTable<LocalNameFactory>* initIdTable();
638 protected:
639 static IDTable<LocalNameFactory>* s_idTable;
642 class PrefixFactory {
643 public:
644 static IDTable<PrefixFactory>* idTable() {
645 return s_idTable;
647 static IDTable<PrefixFactory>* initIdTable();
648 protected:
649 static IDTable<PrefixFactory>* s_idTable;
654 namespace DOM {
656 typedef khtml::IDString<khtml::NamespaceFactory> NamespaceName;
657 typedef khtml::IDString<khtml::LocalNameFactory> LocalName;
658 typedef khtml::IDString<khtml::PrefixFactory> PrefixName;
659 extern PrefixName emptyPrefixName;
660 extern LocalName emptyLocalName;
661 extern NamespaceName emptyNamespaceName;
663 QString getPrintableName(int id);
667 #endif