Changeset 34410 in webkit
- Timestamp:
- Jun 6, 2008 7:11:30 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r34409 r34410 1 2008-06-06 Julien Chaffraix <jchaffraix@webkit.org> 2 3 Reviewed by Eric. 4 5 Part of bug 19200: *.in files should embed more information 6 https://bugs.webkit.org/show_bug.cgi?id=19200 7 8 - Switched *.in files to XML format. 9 10 - Added (simple) parsing facilities in make_names.pl using the XML::Tiny Perl parser. 11 12 - Updated the build systems to include bindings/scripts when executing make_names.pl 13 (for XMLTiny dependency). 14 15 - Cleaned-up make_names.pl a little. 16 17 * DerivedSources.make: 18 * GNUmakefile.am: 19 * WebCore.pro: 20 * bindings/scripts/XMLTiny.pm: Added. 21 * dom/make_names.pl: 22 * html/HTMLAttributeNames.in: 23 * html/HTMLTagNames.in: 24 * svg/svgattrs.in: 25 * svg/svgtags.in: 26 * svg/xlinkattrs.in: 27 * xml/xmlattrs.in: 28 1 29 2008-06-06 Robert Blaut <webkit@blaut.biz> 2 30 -
trunk/WebCore/DerivedSources.make
r34107 r34410 509 509 510 510 HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in 511 perl $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(HTML_FLAGS)" \511 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(HTML_FLAGS)" \ 512 512 --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output . 513 513 … … 515 515 516 516 HTMLNames.cpp : dom/make_names.pl html/HTMLTagNames.in html/HTMLAttributeNames.in 517 perl $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in \517 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in \ 518 518 --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output . 519 519 … … 521 521 522 522 XMLNames.cpp : dom/make_names.pl xml/xmlattrs.in 523 perl $< --attrs $(WebCore)/xml/xmlattrs.in \523 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in \ 524 524 --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output . 525 525 … … 562 562 563 563 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in 564 perl $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" \564 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FLAGS)" \ 565 565 --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output . 566 566 else 567 567 568 568 SVGElementFactory.cpp SVGNames.cpp : dom/make_names.pl svg/svgtags.in svg/svgattrs.in 569 perl $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in \569 perl -I $(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in \ 570 570 --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output . 571 571 … … 573 573 574 574 XLinkNames.cpp : dom/make_names.pl svg/xlinkattrs.in 575 perl $< --attrs $(WebCore)/svg/xlinkattrs.in \575 perl -I $(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in \ 576 576 --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output . 577 577 -
trunk/WebCore/GNUmakefile.am
r34397 r34410 2110 2110 if SVG_FLAGS 2111 2111 DerivedSources/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in 2112 $(PERL) $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FEATURES)" \2112 $(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --extraDefines "$(SVG_FEATURES)" \ 2113 2113 --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output $(GENSOURCES) 2114 2114 else 2115 2115 DerivedSources/SVGElementFactory.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/svg/svgtags.in $(WebCore)/svg/svgattrs.in 2116 $(PERL) $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)2116 $(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/svg/svgtags.in --attrs $(WebCore)/svg/svgattrs.in --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output $(GENSOURCES) 2117 2117 2118 2118 endif # SVG_FLAGS … … 2123 2123 2124 2124 DerivedSources/XLinkNames.cpp : $(WebCore)/dom/make_names.pl $(WebCore)/svg/xlinkattrs.in 2125 $(PERL) $< --attrs $(WebCore)/svg/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output $(GENSOURCES)2125 $(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/svg/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output $(GENSOURCES) 2126 2126 2127 2127 endif # END ENABLE_SVG … … 2203 2203 if HTML_FLAGS 2204 2204 DerivedSources/HTMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in 2205 $(PERL) $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(HTML_FEATURES)" --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)2205 $(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --extraDefines "$(HTML_FEATURES)" --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output $(GENSOURCES) 2206 2206 else 2207 2207 DerivedSources/HTMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/html/HTMLTagNames.in $(WebCore)/html/HTMLAttributeNames.in 2208 $(PERL) $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)2208 $(PERL) -I$(WebCore)/bindings/scripts $< --tags $(WebCore)/html/HTMLTagNames.in --attrs $(WebCore)/html/HTMLAttributeNames.in --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output $(GENSOURCES) 2209 2209 endif # HTML_FLAGS 2210 2210 … … 2212 2212 2213 2213 DerivedSources/XMLNames.cpp: $(WebCore)/dom/make_names.pl $(WebCore)/xml/xmlattrs.in 2214 $(PERL) $< --attrs $(WebCore)/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output $(GENSOURCES)2214 $(PERL) -I$(WebCore)/bindings/scripts $< --attrs $(WebCore)/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output $(GENSOURCES) 2215 2215 2216 2216 vpath %.idl = \ -
trunk/WebCore/WebCore.pro
r34297 r34410 1579 1579 # GENERATOR 5-C: 1580 1580 svgnames_a.output = $$GENERATED_SOURCES_DIR/SVGNames.cpp 1581 svgnames_a.commands = perl $$PWD/dom/make_names.pl --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --namespace SVG --guardFactoryWith \"ENABLE(SVG)\" --cppNamespace WebCore --namespaceURI 'http://www.w3.org/2000/svg' --factory --wrapperFactory --attrsNullNamespace --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR1581 svgnames_a.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --namespace SVG --guardFactoryWith \"ENABLE(SVG)\" --cppNamespace WebCore --namespaceURI 'http://www.w3.org/2000/svg' --factory --wrapperFactory --attrsNullNamespace --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR 1582 1582 svgnames_a.input = SVG_NAMES 1583 1583 svgnames_a.dependency_type = TYPE_C … … 1605 1605 # GENERATOR 5-D: 1606 1606 xlinknames.output = $$GENERATED_SOURCES_DIR/XLinkNames.cpp 1607 xlinknames.commands = perl $$PWD/dom/make_names.pl --attrs $$PWD/svg/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI 'http://www.w3.org/1999/xlink' --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR1607 xlinknames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --attrs $$PWD/svg/xlinkattrs.in --namespace XLink --cppNamespace WebCore --namespaceURI 'http://www.w3.org/1999/xlink' --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR 1608 1608 xlinknames.input = XLINK_NAMES 1609 1609 xlinknames.dependency_type = TYPE_C … … 1701 1701 # GENERATOR 5-A: 1702 1702 htmlnames.output = $$GENERATED_SOURCES_DIR/HTMLNames.cpp 1703 htmlnames.commands = perl $$PWD/dom/make_names.pl --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI 'http://www.w3.org/1999/xhtml' --wrapperFactory --attrsNullNamespace --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR1703 htmlnames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI 'http://www.w3.org/1999/xhtml' --wrapperFactory --attrsNullNamespace --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR 1704 1704 htmlnames.input = HTML_NAMES 1705 1705 htmlnames.dependency_type = TYPE_C … … 1719 1719 # GENERATOR 5-B: 1720 1720 xmlnames.output = $$GENERATED_SOURCES_DIR/XMLNames.cpp 1721 xmlnames.commands = perl $$PWD/dom/make_names.pl --attrs $$PWD/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI 'http://www.w3.org/XML/1998/namespace' --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR1721 xmlnames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --attrs $$PWD/xml/xmlattrs.in --namespace XML --cppNamespace WebCore --namespaceURI 'http://www.w3.org/XML/1998/namespace' --preprocessor \"$${QMAKE_MOC} -E\" --output $$GENERATED_SOURCES_DIR 1722 1722 xmlnames.input = XML_NAMES 1723 1723 xmlnames.dependency_type = TYPE_C -
trunk/WebCore/dom/make_names.pl
r34107 r34410 28 28 29 29 use strict; 30 31 use Config; 30 32 use Getopt::Long; 31 33 use File::Path; 32 use Config; 34 use IO::File; 35 use Switch; 36 use XMLTiny qw(parsefile); 33 37 34 38 my $printFactory = 0; … … 41 45 my $attrsFile = ""; 42 46 my $outputDir = "."; 43 my @tags = ();44 my @attrs = ();47 my %tags = (); 48 my %attrs = (); 45 49 my $tagsNullNamespace = 0; 46 50 my $attrsNullNamespace = 0; … … 74 78 $namespacePrefix = $namespace unless $namespacePrefix; 75 79 76 @tags =readNames($tagsFile) if length($tagsFile);77 @attrs =readNames($attrsFile) if length($attrsFile);80 readNames($tagsFile) if length($tagsFile); 81 readNames($attrsFile) if length($attrsFile); 78 82 79 83 mkpath($outputDir); … … 95 99 } 96 100 101 ### Parsing handlers 102 103 sub parseTags 104 { 105 my $contentsRef = shift; 106 foreach my $contentRef (@$contentsRef) { 107 my $tag = $${contentRef}{'name'}; 108 $tag =~ s/-/_/g; 109 110 # FIXME: we currently insert '' into the hash but it should be replaced by a description map 111 # taking into account the element's attributes. 112 $tags{$tag} = ''; 113 } 114 } 115 116 sub parseAttrs 117 { 118 my $contentsRef = shift; 119 foreach my $contentRef (@$contentsRef) { 120 my $attr = $${contentRef}{'name'}; 121 $attr =~ s/-/_/g; 122 123 # FIXME: we currently insert '' into the hash but it should be replaced by a description map 124 # taking into account the element's attributes. 125 $attrs{$attr} = ''; 126 } 127 } 128 97 129 ## Support routines 98 130 … … 101 133 my $namesFile = shift; 102 134 135 my $names = new IO::File; 103 136 if ($extraDefines eq 0) { 104 die "Failed to open file: $namesFile" unless open NAMES, $preprocessor . " " . $namesFile . "|" or die;137 open($names, $preprocessor . " " . $namesFile . "|") or die "Failed to open file: $namesFile"; 105 138 } else { 106 die "Failed to open file: $namesFile" unless open NAMES, $preprocessor . " -D" . join(" -D", split(" ", $extraDefines)) . " " . $namesFile . "|" or die; 107 } 108 109 my @names = (); 110 while (<NAMES>) { 111 next if (m/#/); 112 next if (m/^[ \t]*$/); 113 s/-/_/g; 114 chomp $_; 115 push @names, $_; 116 } 117 close(NAMES); 118 119 die "Failed to read names from file: $namesFile" unless (scalar(@names)); 120 121 return @names 139 open($names, $preprocessor . " -D" . join(" -D", split(" ", $extraDefines)) . " " . $namesFile . "|") or die "Failed to open file: $namesFile"; 140 } 141 142 # Store hashes keys count to know if some insertion occured. 143 my $tagsCount = keys %tags; 144 my $attrsCount = keys %attrs; 145 146 my $documentRef = parsefile($names); 147 148 # XML::Tiny returns an array reference to a hash containing the different properties 149 my %document = %{@$documentRef[0]}; 150 my $name = $document{'name'}; 151 152 # Check root element to determine what we are parsing 153 switch($name) { 154 case "tags" { 155 parseTags(\@{$document{'content'}}); 156 } 157 case "attrs" { 158 parseAttrs(\@{$document{'content'}}); 159 } 160 } 161 162 # FIXME: we should process the attributes here to build a parameter map 163 164 close($names); 165 166 die "Failed to read names from file: $namesFile" if ((keys %tags == $tagsCount) && (keys %attrs == $attrsCount)); 122 167 } 123 168 124 169 sub printMacros 125 170 { 126 my ($F, $macro, $suffix, @names) = @_;127 for my $name ( @names) {171 my ($F, $macro, $suffix, $namesRef) = @_; 172 for my $name (sort keys %$namesRef) { 128 173 print F " $macro $name","$suffix;\n"; 129 174 } … … 132 177 sub printConstructors 133 178 { 134 my ($F, @names) = @_;179 my ($F, $namesRef) = @_; 135 180 print F "#if $guardFactoryWith\n" if $guardFactoryWith; 136 for my $name ( @names) {181 for my $name (sort keys %$namesRef) { 137 182 my $ucName = upperCaseName($name); 138 183 … … 147 192 sub printFunctionInits 148 193 { 149 my ($F, @names) = @_;150 for my $name ( @names) {194 my ($F, $namesRef) = @_; 195 for my $name (sort keys %$namesRef) { 151 196 print F " gFunctionMap->set(${name}Tag.localName().impl(), ${name}Constructor);\n"; 152 197 } … … 272 317 print F "extern const WebCore::AtomicString ${lowerNamespace}NamespaceURI;\n\n"; 273 318 274 if ( scalar(@tags)) {319 if (keys %tags) { 275 320 print F "// Tags\n"; 276 printMacros($F, "extern const WebCore::QualifiedName", "Tag", @tags);321 printMacros($F, "extern const WebCore::QualifiedName", "Tag", \%tags); 277 322 print F "\n\nWebCore::QualifiedName** get${namespace}Tags(size_t* size);\n"; 278 323 } 279 324 280 if ( scalar(@attrs)) {325 if (keys %attrs) { 281 326 print F "// Attributes\n"; 282 printMacros($F, "extern const WebCore::QualifiedName", "Attr", @attrs);327 printMacros($F, "extern const WebCore::QualifiedName", "Attr", \%attrs); 283 328 print F "\n\nWebCore::QualifiedName** get${namespace}Attr(size_t* size);\n"; 284 329 } … … 320 365 "; 321 366 322 if ( scalar(@tags)) {367 if (keys %tags) { 323 368 print F "// Tags\n"; 324 for my $name ( @tags) {369 for my $name (sort keys %tags) { 325 370 print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Tag, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n"; 326 371 } … … 328 373 print F "\n\nWebCore::QualifiedName** get${namespace}Tags(size_t* size)\n"; 329 374 print F "{\n static WebCore::QualifiedName* ${namespace}Tags[] = {\n"; 330 for my $name ( @tags) {375 for my $name (sort keys %tags) { 331 376 print F " (WebCore::QualifiedName*)&${name}Tag,\n"; 332 377 } 333 378 print F " };\n"; 334 print F " *size = ", scalar( @tags), ";\n";379 print F " *size = ", scalar(keys %tags), ";\n"; 335 380 print F " return ${namespace}Tags;\n"; 336 381 print F "}\n"; … … 338 383 } 339 384 340 if ( scalar(@attrs)) {385 if (keys %attrs) { 341 386 print F "\n// Attributes\n"; 342 for my $name ( @attrs) {387 for my $name (sort keys %attrs) { 343 388 print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Attr, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n"; 344 389 } 345 390 print F "\n\nWebCore::QualifiedName** get${namespace}Attrs(size_t* size)\n"; 346 391 print F "{\n static WebCore::QualifiedName* ${namespace}Attr[] = {\n"; 347 for my $name ( @attrs) {392 for my $name (sort keys %attrs) { 348 393 print F " (WebCore::QualifiedName*)&${name}Attr,\n"; 349 394 } 350 395 print F " };\n"; 351 print F " *size = ", scalar( @attrs), ";\n";396 print F " *size = ", scalar(keys %attrs), ";\n"; 352 397 print F " return ${namespace}Attr;\n"; 353 398 print F "}\n"; … … 370 415 print(F " // Namespace\n"); 371 416 print(F " new ((void*)&${lowerNamespace}NamespaceURI) AtomicString(${lowerNamespace}NS);\n\n"); 372 if ( scalar(@tags)) {417 if (keys %tags) { 373 418 my $tagsNamespace = $tagsNullNamespace ? "nullAtom" : "${lowerNamespace}NS"; 374 printDefinitions($F, \ @tags, "tags", $tagsNamespace);375 } 376 if ( scalar(@attrs)) {419 printDefinitions($F, \%tags, "tags", $tagsNamespace); 420 } 421 if (keys %attrs) { 377 422 my $attrsNamespace = $attrsNullNamespace ? "nullAtom" : "${lowerNamespace}NS"; 378 printDefinitions($F, \ @attrs, "attributes", $attrsNamespace);423 printDefinitions($F, \%attrs, "attributes", $attrsNamespace); 379 424 } 380 425 … … 385 430 sub printJSElementIncludes 386 431 { 387 my ($F, @names) = @_;388 for my $name ( @names) {432 my ($F, $namesRef) = @_; 433 for my $name (sort keys %$namesRef) { 389 434 next if (hasCustomMapping($name)); 390 435 … … 397 442 { 398 443 my ($F, $namesRef, $shouldSkipCustomMappings) = @_; 399 for my $name ( @$namesRef) {444 for my $name (sort keys %$namesRef) { 400 445 next if ($shouldSkipCustomMappings && hasCustomMapping($name)); 401 446 … … 415 460 print F " // " . ucfirst($type) . "\n"; 416 461 417 for my $name ( @$namesRef) {462 for my $name (sort keys %$namesRef) { 418 463 print F " const char *$name","${shortCamelType}String = \"$name\";\n"; 419 464 } 420 465 421 for my $name ( @$namesRef) {466 for my $name (sort keys %$namesRef) { 422 467 if ($name =~ /_/) { 423 468 my $realName = $name; … … 428 473 print F "\n"; 429 474 430 for my $name ( @$namesRef) {475 for my $name (sort keys %$namesRef) { 431 476 print F " new ((void*)&$name","${shortCamelType}) QualifiedName(nullAtom, $name","${shortCamelType}String, $namespaceURI);\n"; 432 477 } … … 453 498 ; 454 499 455 printElementIncludes($F, \ @tags, 0);500 printElementIncludes($F, \%tags, 0); 456 501 457 502 print F <<END … … 471 516 ; 472 517 473 printConstructors($F, @tags);518 printConstructors($F, \%tags); 474 519 475 520 print F "#if $guardFactoryWith\n" if $guardFactoryWith; … … 487 532 ; 488 533 489 printFunctionInits($F, @tags);534 printFunctionInits($F, \%tags); 490 535 491 536 print F "}\n"; … … 661 706 sub printWrapperFunctions 662 707 { 663 my ($F, @names) = @_;664 for my $name ( @names) {708 my ($F, $namesRef) = @_; 709 for my $name (sort keys %$namesRef) { 665 710 # Custom mapping do not need a JS wrapper 666 711 next if (hasCustomMapping($name)); … … 706 751 print F "#include \"JS${namespace}ElementWrapperFactory.h\"\n"; 707 752 708 printJSElementIncludes($F, @tags);753 printJSElementIncludes($F, \%tags); 709 754 710 755 print F "\n#include \"${namespace}Names.h\"\n\n"; 711 756 712 printElementIncludes($F, \ @tags, 1);757 printElementIncludes($F, \%tags, 1); 713 758 714 759 print F <<END … … 724 769 ; 725 770 726 printWrapperFunctions($F, @tags);771 printWrapperFunctions($F, \%tags); 727 772 728 773 print F <<END … … 734 779 ; 735 780 736 for my $tag ( @tags) {781 for my $tag (sort keys %tags) { 737 782 next if (hasCustomMapping($tag)); 738 783 -
trunk/WebCore/html/HTMLAttributeNames.in
r33510 r34410 1 abbr 2 accept_charset 3 accept 4 accesskey 5 action 6 align 7 alink 8 alt 9 archive 10 aria-activedescendant 11 aria-checked 12 aria-describedby 13 aria-labeledby 14 aria-labelledby 15 aria-level 16 aria-pressed 17 aria-valuemax 18 aria-valuemin 19 aria-valuenow 20 autocomplete 21 autoplay 22 autosave 23 axis 24 background 25 behavior 26 bgcolor 27 bgproperties 28 border 29 bordercolor 30 cellpadding 31 cellspacing 32 char 33 challenge 34 charoff 35 charset 36 checked 37 cellborder 38 cite 39 class 40 classid 41 clear 42 code 43 codebase 44 codetype 45 color 46 cols 47 colspan 48 compact 49 composite 50 content 51 contenteditable 52 controls 53 coords 54 data 55 datetime 56 declare 57 defer 58 dir 59 direction 60 disabled 61 enctype 62 end 63 face 64 for 65 frame 66 frameborder 67 headers 68 height 69 hidden 70 href 71 hreflang 72 hspace 73 http_equiv 74 id 75 incremental 76 ismap 77 keytype 78 label 79 lang 80 language 81 left 82 leftmargin 83 link 84 longdesc 85 loop 86 playcount 87 loopend 88 loopstart 89 lowsrc 90 manifest 91 marginheight 92 marginwidth 93 max 94 maxlength 95 mayscript 96 media 97 method 98 min 99 multiple 100 name 101 nohref 102 noresize 103 noshade 104 nowrap 105 object 106 onabort 107 onbeforecopy 108 onbeforecut 109 onbeforepaste 110 onbeforeunload 111 onblur 112 onchange 113 onclick 114 oncontextmenu 115 oncopy 116 oncut 117 ondblclick 118 ondrag 119 ondragend 120 ondragenter 121 ondragleave 122 ondragover 123 ondragstart 124 ondrop 125 onerror 126 onfocus 127 oninput 128 onkeydown 129 onkeypress 130 onkeyup 131 onload 132 onmousedown 133 onmousemove 134 onmouseout 135 onmouseover 136 onmouseup 137 onmousewheel 138 onpaste 139 onreset 140 onresize 141 onscroll 142 onsearch 143 onselect 144 onselectstart 145 onstorage 146 onsubmit 147 onunload 148 pagex 149 pagey 150 placeholder 151 plain 152 pluginpage 153 pluginspage 154 pluginurl 155 poster 156 precision 157 profile 158 prompt 159 readonly 160 rel 161 results 162 rev 163 role 164 rows 165 rowspan 166 rules 167 scheme 168 scope 169 scrollamount 170 scrolldelay 171 scrolling 172 selected 173 shape 174 size 175 span 176 src 177 standby 178 start 179 style 180 summary 181 tabindex 182 tableborder 183 target 184 text 185 title 186 top 187 topmargin 188 truespeed 189 type 190 usemap 191 valign 192 value 193 valuetype 194 version 195 viewsource 196 vlink 197 vspace 198 width 199 wrap 1 <attrs> 2 <abbr/> 3 <accept_charset/> 4 <accept/> 5 <accesskey/> 6 <action/> 7 <align/> 8 <alink/> 9 <alt/> 10 <archive/> 11 <aria-activedescendant/> 12 <aria-checked/> 13 <aria-describedby/> 14 <aria-labeledby/> 15 <aria-labelledby/> 16 <aria-level/> 17 <aria-pressed/> 18 <aria-valuemax/> 19 <aria-valuemin/> 20 <aria-valuenow/> 21 <autocomplete/> 22 <autoplay/> 23 <autosave/> 24 <axis/> 25 <background/> 26 <behavior/> 27 <bgcolor/> 28 <bgproperties/> 29 <border/> 30 <bordercolor/> 31 <cellpadding/> 32 <cellspacing/> 33 <char/> 34 <challenge/> 35 <charoff/> 36 <charset/> 37 <checked/> 38 <cellborder/> 39 <cite/> 40 <class/> 41 <classid/> 42 <clear/> 43 <code/> 44 <codebase/> 45 <codetype/> 46 <color/> 47 <cols/> 48 <colspan/> 49 <compact/> 50 <composite/> 51 <content/> 52 <contenteditable/> 53 <controls/> 54 <coords/> 55 <data/> 56 <datetime/> 57 <declare/> 58 <defer/> 59 <dir/> 60 <direction/> 61 <disabled/> 62 <enctype/> 63 <end/> 64 <face/> 65 <for/> 66 <frame/> 67 <frameborder/> 68 <headers/> 69 <height/> 70 <hidden/> 71 <href/> 72 <hreflang/> 73 <hspace/> 74 <http_equiv/> 75 <id/> 76 <incremental/> 77 <ismap/> 78 <keytype/> 79 <label/> 80 <lang/> 81 <language/> 82 <left/> 83 <leftmargin/> 84 <link/> 85 <longdesc/> 86 <loop/> 87 <playcount/> 88 <loopend/> 89 <loopstart/> 90 <lowsrc/> 91 <manifest/> 92 <marginheight/> 93 <marginwidth/> 94 <max/> 95 <maxlength/> 96 <mayscript/> 97 <media/> 98 <method/> 99 <min/> 100 <multiple/> 101 <name/> 102 <nohref/> 103 <noresize/> 104 <noshade/> 105 <nowrap/> 106 <object/> 107 <onabort/> 108 <onbeforecopy/> 109 <onbeforecut/> 110 <onbeforepaste/> 111 <onbeforeunload/> 112 <onblur/> 113 <onchange/> 114 <onclick/> 115 <oncontextmenu/> 116 <oncopy/> 117 <oncut/> 118 <ondblclick/> 119 <ondrag/> 120 <ondragend/> 121 <ondragenter/> 122 <ondragleave/> 123 <ondragover/> 124 <ondragstart/> 125 <ondrop/> 126 <onerror/> 127 <onfocus/> 128 <oninput/> 129 <onkeydown/> 130 <onkeypress/> 131 <onkeyup/> 132 <onload/> 133 <onmousedown/> 134 <onmousemove/> 135 <onmouseout/> 136 <onmouseover/> 137 <onmouseup/> 138 <onmousewheel/> 139 <onpaste/> 140 <onreset/> 141 <onresize/> 142 <onscroll/> 143 <onsearch/> 144 <onselect/> 145 <onselectstart/> 146 <onstorage/> 147 <onsubmit/> 148 <onunload/> 149 <pagex/> 150 <pagey/> 151 <placeholder/> 152 <plain/> 153 <pluginpage/> 154 <pluginspage/> 155 <pluginurl/> 156 <poster/> 157 <precision/> 158 <profile/> 159 <prompt/> 160 <readonly/> 161 <rel/> 162 <results/> 163 <rev/> 164 <role/> 165 <rows/> 166 <rowspan/> 167 <rules/> 168 <scheme/> 169 <scope/> 170 <scrollamount/> 171 <scrolldelay/> 172 <scrolling/> 173 <selected/> 174 <shape/> 175 <size/> 176 <span/> 177 <src/> 178 <standby/> 179 <start/> 180 <style/> 181 <summary/> 182 <tabindex/> 183 <tableborder/> 184 <target/> 185 <text/> 186 <title/> 187 <top/> 188 <topmargin/> 189 <truespeed/> 190 <type/> 191 <usemap/> 192 <valign/> 193 <value/> 194 <valuetype/> 195 <version/> 196 <viewsource/> 197 <vlink/> 198 <vspace/> 199 <width/> 200 <wrap/> 201 </attrs> -
trunk/WebCore/html/HTMLTagNames.in
r33530 r34410 1 a 2 abbr 3 acronym 4 address 5 applet 6 area 1 <tags> 2 <a/> 3 <abbr/> 4 <acronym/> 5 <address/> 6 <applet/> 7 <area/> 7 8 #if ENABLE_VIDEO 8 audio 9 <audio/> 9 10 #endif 10 b 11 base 12 basefont 13 bdo 14 big 15 blockquote 16 body 17 br 18 button 19 canvas 20 caption 21 center 22 cite 23 code 24 col 25 colgroup 26 dd 27 del 28 dfn 29 dir 30 div 31 dl 32 dt 33 em 34 embed 35 fieldset 36 font 37 form 38 frame 39 frameset 40 head 41 h1 42 h2 43 h3 44 h4 45 h5 46 h6 47 hr 48 html 49 i 50 iframe 51 image 52 img 53 input 54 ins 55 isindex 56 kbd 57 keygen 58 label 59 layer 60 legend 61 li 62 link 63 listing 64 map 65 marquee 66 menu 67 meta 68 nobr 69 noembed 70 noframes 71 nolayer 72 noscript 73 object 74 ol 75 optgroup 76 option 77 p 78 param 79 plaintext 80 pre 81 q 82 s 83 samp 84 script 85 select 86 small 11 <b/> 12 <base/> 13 <basefont/> 14 <bdo/> 15 <big/> 16 <blockquote/> 17 <body/> 18 <br/> 19 <button/> 20 <canvas/> 21 <caption/> 22 <center/> 23 <cite/> 24 <code/> 25 <col/> 26 <colgroup/> 27 <dd/> 28 <del/> 29 <dfn/> 30 <dir/> 31 <div/> 32 <dl/> 33 <dt/> 34 <em/> 35 <embed/> 36 <fieldset/> 37 <font/> 38 <form/> 39 <frame/> 40 <frameset/> 41 <head/> 42 <h1/> 43 <h2/> 44 <h3/> 45 <h4/> 46 <h5/> 47 <h6/> 48 <hr/> 49 <html/> 50 <i/> 51 <iframe/> 52 <image/> 53 <img/> 54 <input/> 55 <ins/> 56 <isindex/> 57 <kbd/> 58 <keygen/> 59 <label/> 60 <layer/> 61 <legend/> 62 <li/> 63 <link/> 64 <listing/> 65 <map/> 66 <marquee/> 67 <menu/> 68 <meta/> 69 <nobr/> 70 <noembed/> 71 <noframes/> 72 <nolayer/> 73 <noscript/> 74 <object/> 75 <ol/> 76 <optgroup/> 77 <option/> 78 <p/> 79 <param/> 80 <plaintext/> 81 <pre/> 82 <q/> 83 <s/> 84 <samp/> 85 <script/> 86 <select/> 87 <small/> 87 88 #if ENABLE_VIDEO 88 source 89 <source/> 89 90 #endif 90 span 91 strike 92 strong 93 style 94 sub 95 sup 96 table 97 tbody 98 td 99 textarea 100 tfoot 101 th 102 thead 103 title 104 tr 105 tt 106 u 107 ul 108 var 91 <span/> 92 <strike/> 93 <strong/> 94 <style/> 95 <sub/> 96 <sup/> 97 <table/> 98 <tbody/> 99 <td/> 100 <textarea/> 101 <tfoot/> 102 <th/> 103 <thead/> 104 <title/> 105 <tr/> 106 <tt/> 107 <u/> 108 <ul/> 109 <var/> 109 110 #if ENABLE_VIDEO 110 video 111 <video/> 111 112 #endif 112 wbr 113 xmp 114 113 <wbr/> 114 <xmp/> 115 </tags> -
trunk/WebCore/svg/svgattrs.in
r29700 r34410 1 accent-height 2 accumulate 3 additive 4 alignment-baseline 5 alphabetic 6 amplitude 7 animate 8 arabic-form 9 ascent 10 attributeName 11 attributeType 12 azimuth 13 baseFrequency 14 baseline-shift 15 baseProfile 16 bbox 17 begin 18 bias 19 by 20 calcMode 21 cap-height 22 clip 23 clip-path 24 clip-rule 25 clipPathUnits 26 color 27 color-interpolation 28 color-interpolation-filters 29 color-profile 30 color-rendering 31 contentScriptType 32 contentStyleType 33 cursor 34 cx 35 cy 36 d 37 descent 38 diffuseConstant 39 direction 40 display 41 divisor 42 dominant-baseline 43 dur 44 dx 45 dy 46 edgeMode 47 elevation 48 enable-background 49 end 50 exponent 51 externalResourcesRequired 52 feColorMatrix 53 feComposite 54 feGaussianBlur 55 feMorphology 56 feTile 57 fill 58 fill-opacity 59 fill-rule 60 filter 61 filterRes 62 filterUnits 63 flood-color 64 flood-opacity 65 font-family 66 font-size 67 font-size-adjust 68 font-stretch 69 font-style 70 font-variant 71 font-weight 72 format 73 from 74 fx 75 fy 76 g1 77 g2 78 glyph-name 79 glyph-orientation-horizontal 80 glyph-orientation-vertical 81 glyphRef 82 gradientTransform 83 gradientUnits 84 hanging 85 height 86 horiz-adv-x 87 horiz-origin-x 88 horiz-origin-y 89 ideographic 90 image-rendering 91 in 92 in2 93 intercept 94 k 95 k1 96 k2 97 k3 98 k4 99 kernelMatrix 100 kernelUnitLength 101 kerning 102 keyPoints 103 keySplines 104 keyTimes 105 lang 106 lengthAdjust 107 letter-spacing 108 lighting-color 109 limitingConeAngle 110 local 111 marker-end 112 marker-mid 113 marker-start 114 markerHeight 115 markerUnits 116 markerWidth 117 mask 118 maskContentUnits 119 maskUnits 120 mathematical 121 max 122 media 123 method 124 min 125 mode 126 name 127 numOctaves 128 offset 129 onactivate 130 onbegin 131 onend 132 onfocusin 133 onfocusout 134 onrepeat 135 onzoom 136 opacity 137 operator 138 order 139 orient 140 orientation 141 origin 142 overflow 143 overline-position 144 overline-thickness 145 panose-1 146 path 147 pathLength 148 patternContentUnits 149 patternTransform 150 patternUnits 151 pointer-events 152 points 153 pointsAtX 154 pointsAtY 155 pointsAtZ 156 preserveAlpha 157 preserveAspectRatio 158 primitiveUnits 159 r 160 radius 161 refX 162 refY 163 rendering-intent 164 repeatCount 165 repeatDur 166 requiredExtensions 167 requiredFeatures 168 restart 169 result 170 rotate 171 rx 172 ry 173 scale 174 seed 175 shape-rendering 176 slope 177 spacing 178 specularConstant 179 specularExponent 180 spreadMethod 181 startOffset 182 stdDeviation 183 stemh 184 stemv 185 stitchTiles 186 stop-color 187 stop-opacity 188 strikethrough-position 189 strikethrough-thickness 190 stroke 191 stroke-dasharray 192 stroke-dashoffset 193 stroke-linecap 194 stroke-linejoin 195 stroke-miterlimit 196 stroke-opacity 197 stroke-width 198 style 199 surfaceScale 200 systemLanguage 201 tableValues 202 target 203 targetX 204 targetY 205 text-anchor 206 text-decoration 207 text-rendering 208 textLength 209 title 210 to 211 transform 212 type 213 u1 214 u2 215 underline-position 216 underline-thickness 217 unicode 218 unicode-bidi 219 unicode-range 220 units-per-em 221 v-alphabetic 222 v-hanging 223 v-ideographic 224 v-mathematical 225 values 226 version 227 vert-adv-y 228 vert-origin-x 229 vert-origin-y 230 viewBox 231 viewTarget 232 visibility 233 width 234 widths 235 word-spacing 236 writing-mode 237 x 238 x-height 239 x1 240 x2 241 xChannelSelector 242 y 243 y1 244 y2 245 yChannelSelector 246 z 247 zoomAndPan 1 <attrs> 2 <accent-height/> 3 <accumulate/> 4 <additive/> 5 <alignment-baseline/> 6 <alphabetic/> 7 <amplitude/> 8 <animate/> 9 <arabic-form/> 10 <ascent/> 11 <attributeName/> 12 <attributeType/> 13 <azimuth/> 14 <baseFrequency/> 15 <baseline-shift/> 16 <baseProfile/> 17 <bbox/> 18 <begin/> 19 <bias/> 20 <by/> 21 <calcMode/> 22 <cap-height/> 23 <clip/> 24 <clip-path/> 25 <clip-rule/> 26 <clipPathUnits/> 27 <color/> 28 <color-interpolation/> 29 <color-interpolation-filters/> 30 <color-profile/> 31 <color-rendering/> 32 <contentScriptType/> 33 <contentStyleType/> 34 <cursor/> 35 <cx/> 36 <cy/> 37 <d/> 38 <descent/> 39 <diffuseConstant/> 40 <direction/> 41 <display/> 42 <divisor/> 43 <dominant-baseline/> 44 <dur/> 45 <dx/> 46 <dy/> 47 <edgeMode/> 48 <elevation/> 49 <enable-background/> 50 <end/> 51 <exponent/> 52 <externalResourcesRequired/> 53 <feColorMatrix/> 54 <feComposite/> 55 <feGaussianBlur/> 56 <feMorphology/> 57 <feTile/> 58 <fill/> 59 <fill-opacity/> 60 <fill-rule/> 61 <filter/> 62 <filterRes/> 63 <filterUnits/> 64 <flood-color/> 65 <flood-opacity/> 66 <font-family/> 67 <font-size/> 68 <font-size-adjust/> 69 <font-stretch/> 70 <font-style/> 71 <font-variant/> 72 <font-weight/> 73 <format/> 74 <from/> 75 <fx/> 76 <fy/> 77 <g1/> 78 <g2/> 79 <glyph-name/> 80 <glyph-orientation-horizontal/> 81 <glyph-orientation-vertical/> 82 <glyphRef/> 83 <gradientTransform/> 84 <gradientUnits/> 85 <hanging/> 86 <height/> 87 <horiz-adv-x/> 88 <horiz-origin-x/> 89 <horiz-origin-y/> 90 <ideographic/> 91 <image-rendering/> 92 <in/> 93 <in2/> 94 <intercept/> 95 <k/> 96 <k1/> 97 <k2/> 98 <k3/> 99 <k4/> 100 <kernelMatrix/> 101 <kernelUnitLength/> 102 <kerning/> 103 <keyPoints/> 104 <keySplines/> 105 <keyTimes/> 106 <lang/> 107 <lengthAdjust/> 108 <letter-spacing/> 109 <lighting-color/> 110 <limitingConeAngle/> 111 <local/> 112 <marker-end/> 113 <marker-mid/> 114 <marker-start/> 115 <markerHeight/> 116 <markerUnits/> 117 <markerWidth/> 118 <mask/> 119 <maskContentUnits/> 120 <maskUnits/> 121 <mathematical/> 122 <max/> 123 <media/> 124 <method/> 125 <min/> 126 <mode/> 127 <name/> 128 <numOctaves/> 129 <offset/> 130 <onactivate/> 131 <onbegin/> 132 <onend/> 133 <onfocusin/> 134 <onfocusout/> 135 <onrepeat/> 136 <onzoom/> 137 <opacity/> 138 <operator/> 139 <order/> 140 <orient/> 141 <orientation/> 142 <origin/> 143 <overflow/> 144 <overline-position/> 145 <overline-thickness/> 146 <panose-1/> 147 <path/> 148 <pathLength/> 149 <patternContentUnits/> 150 <patternTransform/> 151 <patternUnits/> 152 <pointer-events/> 153 <points/> 154 <pointsAtX/> 155 <pointsAtY/> 156 <pointsAtZ/> 157 <preserveAlpha/> 158 <preserveAspectRatio/> 159 <primitiveUnits/> 160 <r/> 161 <radius/> 162 <refX/> 163 <refY/> 164 <rendering-intent/> 165 <repeatCount/> 166 <repeatDur/> 167 <requiredExtensions/> 168 <requiredFeatures/> 169 <restart/> 170 <result/> 171 <rotate/> 172 <rx/> 173 <ry/> 174 <scale/> 175 <seed/> 176 <shape-rendering/> 177 <slope/> 178 <spacing/> 179 <specularConstant/> 180 <specularExponent/> 181 <spreadMethod/> 182 <startOffset/> 183 <stdDeviation/> 184 <stemh/> 185 <stemv/> 186 <stitchTiles/> 187 <stop-color/> 188 <stop-opacity/> 189 <strikethrough-position/> 190 <strikethrough-thickness/> 191 <stroke/> 192 <stroke-dasharray/> 193 <stroke-dashoffset/> 194 <stroke-linecap/> 195 <stroke-linejoin/> 196 <stroke-miterlimit/> 197 <stroke-opacity/> 198 <stroke-width/> 199 <style/> 200 <surfaceScale/> 201 <systemLanguage/> 202 <tableValues/> 203 <target/> 204 <targetX/> 205 <targetY/> 206 <text-anchor/> 207 <text-decoration/> 208 <text-rendering/> 209 <textLength/> 210 <title/> 211 <to/> 212 <transform/> 213 <type/> 214 <u1/> 215 <u2/> 216 <underline-position/> 217 <underline-thickness/> 218 <unicode/> 219 <unicode-bidi/> 220 <unicode-range/> 221 <units-per-em/> 222 <v-alphabetic/> 223 <v-hanging/> 224 <v-ideographic/> 225 <v-mathematical/> 226 <values/> 227 <version/> 228 <vert-adv-y/> 229 <vert-origin-x/> 230 <vert-origin-y/> 231 <viewBox/> 232 <viewTarget/> 233 <visibility/> 234 <width/> 235 <widths/> 236 <word-spacing/> 237 <writing-mode/> 238 <x/> 239 <x-height/> 240 <x1/> 241 <x2/> 242 <xChannelSelector/> 243 <y/> 244 <y1/> 245 <y2/> 246 <yChannelSelector/> 247 <z/> 248 <zoomAndPan/> 249 </attrs> -
trunk/WebCore/svg/svgtags.in
r31817 r34410 1 a 1 <tags> 2 <a/> 2 3 #if ENABLE_SVG_FONTS 3 altGlyph 4 <altGlyph/> 4 5 #endif 5 6 #if 0 6 altGlyphDef 7 altGlyphItem 7 <altGlyphDef/> 8 <altGlyphItem/> 8 9 #endif 9 10 #ifdef ENABLE_SVG_ANIMATION 10 animate 11 animateColor 12 animateMotion 13 animateTransform 14 set 11 <animate/> 12 <animateColor/> 13 <animateMotion/> 14 <animateTransform/> 15 <set/> 15 16 #endif 16 circle 17 clipPath 17 <circle/> 18 <clipPath/> 18 19 #if 0 19 color_profile 20 <color_profile/> 20 21 #endif 21 cursor 22 <cursor/> 22 23 #if ENABLE_SVG_FONTS 23 definition_src 24 <definition_src/> 24 25 #endif 25 defs 26 desc 27 ellipse 26 <defs/> 27 <desc/> 28 <ellipse/> 28 29 #ifdef ENABLE_SVG_FILTERS 29 feBlend 30 feColorMatrix 31 feComponentTransfer 32 feComposite 30 <feBlend/> 31 <feColorMatrix/> 32 <feComponentTransfer/> 33 <feComposite/> 33 34 #if 0 34 feConvolveMatrix 35 <feConvolveMatrix/> 35 36 #endif 36 feDiffuseLighting 37 feDisplacementMap 38 feDistantLight 39 feFlood 40 feFuncA 41 feFuncB 42 feFuncG 43 feFuncR 44 feGaussianBlur 45 feImage 46 feMerge 47 feMergeNode 37 <feDiffuseLighting/> 38 <feDisplacementMap/> 39 <feDistantLight/> 40 <feFlood/> 41 <feFuncA/> 42 <feFuncB/> 43 <feFuncG/> 44 <feFuncR/> 45 <feGaussianBlur/> 46 <feImage/> 47 <feMerge/> 48 <feMergeNode/> 48 49 #if 0 49 feMorphology 50 <feMorphology/> 50 51 #endif 51 feOffset 52 fePointLight 53 feSpecularLighting 54 feSpotLight 55 feTile 56 feTurbulence 57 filter 52 <feOffset/> 53 <fePointLight/> 54 <feSpecularLighting/> 55 <feSpotLight/> 56 <feTile/> 57 <feTurbulence/> 58 <filter/> 58 59 #endif 59 60 #ifdef ENABLE_SVG_FONTS 60 font 61 font_face 62 font_face_format 63 font_face_name 64 font_face_src 65 font_face_uri 61 <font/> 62 <font_face/> 63 <font_face_format/> 64 <font_face_name/> 65 <font_face_src/> 66 <font_face_uri/> 66 67 #endif 67 68 #ifdef ENABLE_SVG_FOREIGN_OBJECT 68 foreignObject 69 <foreignObject/> 69 70 #endif 70 g 71 <g/> 71 72 #ifdef ENABLE_SVG_FONTS 72 glyph 73 <glyph/> 73 74 #endif 74 75 #if 0 75 glyphRef 76 <glyphRef/> 76 77 #endif 77 78 #ifdef ENABLE_SVG_FONTS 78 hkern 79 <hkern/> 79 80 #endif 80 image 81 line 82 linearGradient 83 marker 84 mask 85 metadata 81 <image/> 82 <line/> 83 <linearGradient/> 84 <marker/> 85 <mask/> 86 <metadata/> 86 87 #ifdef ENABLE_SVG_FONTS 87 missing_glyph 88 <missing_glyph/> 88 89 #endif 89 mpath 90 path 91 pattern 92 polygon 93 polyline 94 radialGradient 95 rect 96 script 97 stop 98 style 99 svg 100 switch 101 symbol 102 text 103 textPath 104 title 105 tref 106 tspan 107 use 108 view 90 <mpath/> 91 <path/> 92 <pattern/> 93 <polygon/> 94 <polyline/> 95 <radialGradient/> 96 <rect/> 97 <script/> 98 <stop/> 99 <style/> 100 <svg/> 101 <switch/> 102 <symbol/> 103 <text/> 104 <textPath/> 105 <title/> 106 <tref/> 107 <tspan/> 108 <use/> 109 <view/> 109 110 #if 0 110 vkern 111 <vkern/> 111 112 #endif 113 </tags> -
trunk/WebCore/svg/xlinkattrs.in
r28258 r34410 1 actuate 2 arcrole 3 href 4 role 5 show 6 title 7 type 1 <attrs> 2 <actuate/> 3 <arcrole/> 4 <href/> 5 <role/> 6 <show/> 7 <title/> 8 <type/> 9 </attrs> -
trunk/WebCore/xml/xmlattrs.in
r19374 r34410 1 base 2 lang 3 space 1 <attrs> 2 <base/> 3 <lang/> 4 <space/> 5 </attrs>
Note: See TracChangeset
for help on using the changeset viewer.