Changeset 34410 in webkit


Ignore:
Timestamp:
Jun 6, 2008 7:11:30 PM (16 years ago)
Author:
jchaffraix@webkit.org
Message:

WebCore:

2008-06-06 Julien Chaffraix <jchaffraix@webkit.org>

Reviewed by Eric.

Part of bug 19200: *.in files should embed more information
https://bugs.webkit.org/show_bug.cgi?id=19200

  • Switched *.in files to XML format.
  • Added (simple) parsing facilities in make_names.pl using the XML::Tiny Perl parser.
  • Updated the build systems to include bindings/scripts when executing make_names.pl (for XMLTiny dependency).
  • Cleaned-up make_names.pl a little.
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.pro:
  • bindings/scripts/XMLTiny.pm: Added.
  • dom/make_names.pl:
  • html/HTMLAttributeNames.in:
  • html/HTMLTagNames.in:
  • svg/svgattrs.in:
  • svg/svgtags.in:
  • svg/xlinkattrs.in:
  • xml/xmlattrs.in:
Location:
trunk/WebCore
Files:
1 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r34409 r34410  
     12008-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
    1292008-06-06  Robert Blaut  <webkit@blaut.biz>
    230
  • trunk/WebCore/DerivedSources.make

    r34107 r34410  
    509509
    510510HTMLNames.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)" \
    512512            --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output .
    513513
     
    515515
    516516HTMLNames.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 \
    518518            --namespace HTML --namespacePrefix xhtml --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xhtml" --wrapperFactory --attrsNullNamespace --output .
    519519
     
    521521
    522522XMLNames.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 \
    524524            --namespace XML --cppNamespace WebCore --namespaceURI "http://www.w3.org/XML/1998/namespace" --output .
    525525
     
    562562
    563563SVGElementFactory.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)" \
    565565            --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output .
    566566else
    567567
    568568SVGElementFactory.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 \
    570570            --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output .
    571571
     
    573573
    574574XLinkNames.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 \
    576576            --namespace XLink --cppNamespace WebCore --namespaceURI "http://www.w3.org/1999/xlink" --output .
    577577
  • trunk/WebCore/GNUmakefile.am

    r34397 r34410  
    21102110if SVG_FLAGS
    21112111DerivedSources/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)" \
    21132113        --namespace SVG --guardFactoryWith "ENABLE(SVG)" --cppNamespace WebCore --namespaceURI "http://www.w3.org/2000/svg" --factory --wrapperFactory --attrsNullNamespace --output $(GENSOURCES)
    21142114else
    21152115DerivedSources/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)
    21172117
    21182118endif # SVG_FLAGS
     
    21232123
    21242124DerivedSources/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)
    21262126
    21272127endif # END ENABLE_SVG
     
    22032203if HTML_FLAGS
    22042204DerivedSources/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)
    22062206else
    22072207DerivedSources/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)
    22092209endif # HTML_FLAGS
    22102210
     
    22122212
    22132213DerivedSources/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)
    22152215
    22162216vpath %.idl = \
  • trunk/WebCore/WebCore.pro

    r34297 r34410  
    15791579        # GENERATOR 5-C:
    15801580        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_DIR
     1581        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
    15821582        svgnames_a.input = SVG_NAMES
    15831583        svgnames_a.dependency_type = TYPE_C
     
    16051605        # GENERATOR 5-D:
    16061606        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_DIR
     1607        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
    16081608        xlinknames.input = XLINK_NAMES
    16091609        xlinknames.dependency_type = TYPE_C
     
    17011701# GENERATOR 5-A:
    17021702htmlnames.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_DIR
     1703htmlnames.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
    17041704htmlnames.input = HTML_NAMES
    17051705htmlnames.dependency_type = TYPE_C
     
    17191719# GENERATOR 5-B:
    17201720xmlnames.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_DIR
     1721xmlnames.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
    17221722xmlnames.input = XML_NAMES
    17231723xmlnames.dependency_type = TYPE_C
  • trunk/WebCore/dom/make_names.pl

    r34107 r34410  
    2828
    2929use strict;
     30
     31use Config;
    3032use Getopt::Long;
    3133use File::Path;
    32 use Config;
     34use IO::File;
     35use Switch;
     36use XMLTiny qw(parsefile);
    3337
    3438my $printFactory = 0;
     
    4145my $attrsFile = "";
    4246my $outputDir = ".";
    43 my @tags = ();
    44 my @attrs = ();
     47my %tags = ();
     48my %attrs = ();
    4549my $tagsNullNamespace = 0;
    4650my $attrsNullNamespace = 0;
     
    7478$namespacePrefix = $namespace unless $namespacePrefix;
    7579
    76 @tags = readNames($tagsFile) if length($tagsFile);
    77 @attrs = readNames($attrsFile) if length($attrsFile);
     80readNames($tagsFile) if length($tagsFile);
     81readNames($attrsFile) if length($attrsFile);
    7882
    7983mkpath($outputDir);
     
    9599}
    96100
     101### Parsing handlers
     102
     103sub 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
     116sub 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
    97129## Support routines
    98130
     
    101133    my $namesFile = shift;
    102134
     135    my $names = new IO::File;
    103136    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";
    105138    } 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));
    122167}
    123168
    124169sub printMacros
    125170{
    126     my ($F, $macro, $suffix, @names) = @_;
    127     for my $name (@names) {
     171    my ($F, $macro, $suffix, $namesRef) = @_;
     172    for my $name (sort keys %$namesRef) {
    128173        print F "    $macro $name","$suffix;\n";
    129174    }
     
    132177sub printConstructors
    133178{
    134     my ($F, @names) = @_;
     179    my ($F, $namesRef) = @_;
    135180    print F "#if $guardFactoryWith\n" if $guardFactoryWith;
    136     for my $name (@names) {
     181    for my $name (sort keys %$namesRef) {
    137182        my $ucName = upperCaseName($name);
    138183   
     
    147192sub printFunctionInits
    148193{
    149     my ($F, @names) = @_;
    150     for my $name (@names) {
     194    my ($F, $namesRef) = @_;
     195    for my $name (sort keys %$namesRef) {
    151196        print F "    gFunctionMap->set(${name}Tag.localName().impl(), ${name}Constructor);\n";
    152197    }
     
    272317    print F "extern const WebCore::AtomicString ${lowerNamespace}NamespaceURI;\n\n";
    273318
    274     if (scalar(@tags)) {
     319    if (keys %tags) {
    275320        print F "// Tags\n";
    276         printMacros($F, "extern const WebCore::QualifiedName", "Tag", @tags);
     321        printMacros($F, "extern const WebCore::QualifiedName", "Tag", \%tags);
    277322        print F "\n\nWebCore::QualifiedName** get${namespace}Tags(size_t* size);\n";
    278323    }
    279324   
    280     if (scalar(@attrs)) {
     325    if (keys %attrs) {
    281326        print F "// Attributes\n";
    282         printMacros($F, "extern const WebCore::QualifiedName", "Attr", @attrs);
     327        printMacros($F, "extern const WebCore::QualifiedName", "Attr", \%attrs);
    283328        print F "\n\nWebCore::QualifiedName** get${namespace}Attr(size_t* size);\n";
    284329    }
     
    320365";
    321366
    322     if (scalar(@tags)) {
     367    if (keys %tags) {
    323368        print F "// Tags\n";
    324         for my $name (@tags) {
     369        for my $name (sort keys %tags) {
    325370            print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Tag, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n";
    326371        }
     
    328373        print F "\n\nWebCore::QualifiedName** get${namespace}Tags(size_t* size)\n";
    329374        print F "{\n    static WebCore::QualifiedName* ${namespace}Tags[] = {\n";
    330         for my $name (@tags) {
     375        for my $name (sort keys %tags) {
    331376            print F "        (WebCore::QualifiedName*)&${name}Tag,\n";
    332377        }
    333378        print F "    };\n";
    334         print F "    *size = ", scalar(@tags), ";\n";
     379        print F "    *size = ", scalar(keys %tags), ";\n";
    335380        print F "    return ${namespace}Tags;\n";
    336381        print F "}\n";
     
    338383    }
    339384
    340     if (scalar(@attrs)) {
     385    if (keys %attrs) {
    341386        print F "\n// Attributes\n";
    342         for my $name (@attrs) {
     387        for my $name (sort keys %attrs) {
    343388            print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Attr, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n";
    344389        }
    345390        print F "\n\nWebCore::QualifiedName** get${namespace}Attrs(size_t* size)\n";
    346391        print F "{\n    static WebCore::QualifiedName* ${namespace}Attr[] = {\n";
    347         for my $name (@attrs) {
     392        for my $name (sort keys %attrs) {
    348393            print F "        (WebCore::QualifiedName*)&${name}Attr,\n";
    349394        }
    350395        print F "    };\n";
    351         print F "    *size = ", scalar(@attrs), ";\n";
     396        print F "    *size = ", scalar(keys %attrs), ";\n";
    352397        print F "    return ${namespace}Attr;\n";
    353398        print F "}\n";
     
    370415    print(F "    // Namespace\n");
    371416    print(F "    new ((void*)&${lowerNamespace}NamespaceURI) AtomicString(${lowerNamespace}NS);\n\n");
    372     if (scalar(@tags)) {
     417    if (keys %tags) {
    373418        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) {
    377422        my $attrsNamespace = $attrsNullNamespace ? "nullAtom" : "${lowerNamespace}NS";
    378         printDefinitions($F, \@attrs, "attributes", $attrsNamespace);
     423        printDefinitions($F, \%attrs, "attributes", $attrsNamespace);
    379424    }
    380425
     
    385430sub printJSElementIncludes
    386431{
    387     my ($F, @names) = @_;
    388     for my $name (@names) {
     432    my ($F, $namesRef) = @_;
     433    for my $name (sort keys %$namesRef) {
    389434        next if (hasCustomMapping($name));
    390435
     
    397442{
    398443    my ($F, $namesRef, $shouldSkipCustomMappings) = @_;
    399     for my $name (@$namesRef) {
     444    for my $name (sort keys %$namesRef) {
    400445        next if ($shouldSkipCustomMappings && hasCustomMapping($name));
    401446
     
    415460    print F "    // " . ucfirst($type) . "\n";
    416461
    417     for my $name (@$namesRef) {
     462    for my $name (sort keys %$namesRef) {
    418463        print F "    const char *$name","${shortCamelType}String = \"$name\";\n";
    419464    }
    420465       
    421     for my $name (@$namesRef) {
     466    for my $name (sort keys %$namesRef) {
    422467        if ($name =~ /_/) {
    423468            my $realName = $name;
     
    428473    print F "\n";
    429474
    430     for my $name (@$namesRef) {
     475    for my $name (sort keys %$namesRef) {
    431476        print F "    new ((void*)&$name","${shortCamelType}) QualifiedName(nullAtom, $name","${shortCamelType}String, $namespaceURI);\n";
    432477    }
     
    453498;
    454499
    455 printElementIncludes($F, \@tags, 0);
     500printElementIncludes($F, \%tags, 0);
    456501
    457502print F <<END
     
    471516;
    472517
    473 printConstructors($F, @tags);
     518printConstructors($F, \%tags);
    474519
    475520print F "#if $guardFactoryWith\n" if $guardFactoryWith;
     
    487532;
    488533
    489 printFunctionInits($F, @tags);
     534printFunctionInits($F, \%tags);
    490535
    491536print F "}\n";
     
    661706sub printWrapperFunctions
    662707{
    663     my ($F, @names) = @_;
    664     for my $name (@names) {
     708    my ($F, $namesRef) = @_;
     709    for my $name (sort keys %$namesRef) {
    665710        # Custom mapping do not need a JS wrapper
    666711        next if (hasCustomMapping($name));
     
    706751    print F "#include \"JS${namespace}ElementWrapperFactory.h\"\n";
    707752
    708     printJSElementIncludes($F, @tags);
     753    printJSElementIncludes($F, \%tags);
    709754
    710755    print F "\n#include \"${namespace}Names.h\"\n\n";
    711756
    712     printElementIncludes($F, \@tags, 1);
     757    printElementIncludes($F, \%tags, 1);
    713758
    714759    print F <<END
     
    724769;
    725770
    726     printWrapperFunctions($F, @tags);
     771    printWrapperFunctions($F, \%tags);
    727772
    728773    print F <<END
     
    734779;
    735780
    736     for my $tag (@tags) {
     781    for my $tag (sort keys %tags) {
    737782        next if (hasCustomMapping($tag));
    738783
  • 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/>
    78#if ENABLE_VIDEO
    8 audio
     9<audio/>
    910#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/>
    8788#if ENABLE_VIDEO
    88 source
     89<source/>
    8990#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/>
    109110#if ENABLE_VIDEO
    110 video
     111<video/>
    111112#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/>
    23#if ENABLE_SVG_FONTS
    3 altGlyph
     4<altGlyph/>
    45#endif
    56#if 0
    6 altGlyphDef
    7 altGlyphItem
     7<altGlyphDef/>
     8<altGlyphItem/>
    89#endif
    910#ifdef ENABLE_SVG_ANIMATION
    10 animate
    11 animateColor
    12 animateMotion
    13 animateTransform
    14 set
     11<animate/>
     12<animateColor/>
     13<animateMotion/>
     14<animateTransform/>
     15<set/>
    1516#endif
    16 circle
    17 clipPath
     17<circle/>
     18<clipPath/>
    1819#if 0
    19 color_profile
     20<color_profile/>
    2021#endif
    21 cursor
     22<cursor/>
    2223#if ENABLE_SVG_FONTS
    23 definition_src
     24<definition_src/>
    2425#endif
    25 defs
    26 desc
    27 ellipse
     26<defs/>
     27<desc/>
     28<ellipse/>
    2829#ifdef ENABLE_SVG_FILTERS
    29 feBlend
    30 feColorMatrix
    31 feComponentTransfer
    32 feComposite
     30<feBlend/>
     31<feColorMatrix/>
     32<feComponentTransfer/>
     33<feComposite/>
    3334#if 0
    34 feConvolveMatrix
     35<feConvolveMatrix/>
    3536#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/>
    4849#if 0
    49 feMorphology
     50<feMorphology/>
    5051#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/>
    5859#endif
    5960#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/>
    6667#endif
    6768#ifdef ENABLE_SVG_FOREIGN_OBJECT
    68 foreignObject
     69<foreignObject/>
    6970#endif
    70 g
     71<g/>
    7172#ifdef ENABLE_SVG_FONTS
    72 glyph
     73<glyph/>
    7374#endif
    7475#if 0
    75 glyphRef
     76<glyphRef/>
    7677#endif
    7778#ifdef ENABLE_SVG_FONTS
    78 hkern
     79<hkern/>
    7980#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/>
    8687#ifdef ENABLE_SVG_FONTS
    87 missing_glyph
     88<missing_glyph/>
    8889#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/>
    109110#if 0
    110 vkern
     111<vkern/>
    111112#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.