Changeset 35322 in webkit
- Timestamp:
- Jul 24, 2008 1:44:28 AM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r35321 r35322 1 2008-07-24 Julien Chaffraix <jchaffraix@webkit.org> 2 3 Reviewed by Eric. 4 5 Bug 20053: .in files should use a custom format instead of XML 6 7 - Remove our XML parser perl module (XML::Tiny) 8 9 - Add a custom perl parser 10 11 - Move XML files to the new format 12 13 * bindings/scripts/InFilesParser.pm: Added. 14 * bindings/scripts/XMLTiny.pm: Removed. 15 * dom/make_names.pl: Switched to our new 16 parser. 17 18 * html/HTMLAttributeNames.in: Switched to 19 our custom format. 20 * html/HTMLTagNames.in: Ditto. 21 * svg/svgattrs.in: Ditto. 22 * svg/svgtags.in: Ditto. 23 * svg/xlinkattrs.in: Ditto. 24 * xml/xmlattrs.in: Ditto. 25 1 26 2008-07-23 Julien Chaffraix <jchaffraix@webkit.org> 2 27 -
trunk/WebCore/dom/make_names.pl
r35206 r35322 33 33 use File::Path; 34 34 use IO::File; 35 use InFilesParser; 35 36 use Switch; 36 use XMLTiny qw(parsefile);37 37 38 38 my $tagsFile = ""; … … 55 55 die "You must specify at least one of --tags <file> or --attrs <file>" unless (length($tagsFile) || length($attrsFile)); 56 56 57 readNames($tagsFile ) if length($tagsFile);58 readNames($attrsFile ) if length($attrsFile);57 readNames($tagsFile, "tags") if length($tagsFile); 58 readNames($attrsFile, "attrs") if length($attrsFile); 59 59 60 60 die "You must specify a namespace (e.g. SVG) for <namespace>Names.h" unless $parameters{'namespace'}; … … 106 106 'guardFactoryWith' => '', 107 107 'generateWrapperFactory' => 0, 108 # The 2 nullNamespace properties are generated from the "nullNamespace" attribute with respect to the file parsed (attrs or tags).109 108 'tagsNullNamespace' => 0, 110 109 'attrsNullNamespace' => 0, … … 114 113 ### Parsing handlers 115 114 116 # Our files should have the following form : 117 # <'tags' or 'attrs' globalProperty1 = 'value1' ... /> 118 # <'tag/attr name' 'property1' = 'value1' ... /> 119 # where the properties are defined in the initialize*PropertyHash methods. 120 # (more tag/attr ...) 121 # </tags> or </attrs> 122 123 sub parseTags 124 { 125 my $contentsRef = shift; 126 foreach my $contentRef (@$contentsRef) { 127 my $tag = $${contentRef}{'name'}; 128 $tag =~ s/-/_/g; 129 130 # Initialize default properties' values. 131 $tags{$tag} = { initializeTagPropertyHash($tag) } if !defined($tags{$tag}); 132 133 # Parse the XML attributes. 134 my %properties = %{$$contentRef{'attrib'}}; 135 foreach my $property (keys %properties) { 136 die "Unknown property $property for tag $tag\n" if !defined($tags{$tag}{$property}); 137 $tags{$tag}{$property} = $properties{$property}; 138 } 139 } 140 } 141 142 sub parseAttrs 143 { 144 my $contentsRef = shift; 145 foreach my $contentRef (@$contentsRef) { 146 my $attr = $${contentRef}{'name'}; 147 $attr =~ s/-/_/g; 148 149 # Initialize default properties' values. 150 $attrs{$attr} = { initializeAttrPropertyHash($attr) } if !defined($attrs{$attr}); 151 152 # Parse the XML attributes. 153 my %properties = %{$$contentRef{'attrib'}}; 154 foreach my $property (keys %properties) { 155 die "Unknown property $property for attribute $attr\n" if !defined($attrs{$attr}{$property}); 156 $attrs{$attr}{$property} = $properties{$property}; 157 } 158 } 159 } 160 161 sub parseParameters 162 { 163 my ($propertiesRef, $elementName) = @_; 164 my %properties = %$propertiesRef; 115 sub tagsHandler 116 { 117 my ($tag, $property, $value) = @_; 118 119 $tag =~ s/-/_/g; 120 121 # Initialize default properties' values. 122 $tags{$tag} = { initializeTagPropertyHash($tag) } if !defined($tags{$tag}); 123 124 if ($property) { 125 die "Unknown property $property for tag $tag\n" if !defined($tags{$tag}{$property}); 126 $tags{$tag}{$property} = $value; 127 } 128 } 129 130 sub attrsHandler 131 { 132 my ($attr, $property, $value) = @_; 133 134 $attr =~ s/-/_/g; 135 136 # Initialize default properties' values. 137 $attrs{$attr} = { initializeAttrPropertyHash($attr) } if !defined($attrs{$attr}); 138 139 if ($property) { 140 die "Unknown property $property for attribute $attr\n" if !defined($attrs{$attr}{$property}); 141 $attrs{$attr}{$property} = $value; 142 } 143 } 144 145 sub parametersHandler 146 { 147 my ($parameter, $value) = @_; 165 148 166 149 # Initialize default properties' values. 167 150 %parameters = initializeParametersHash() if !(keys %parameters); 168 151 169 # Parse the XML attributes. 170 foreach my $property (keys %properties) { 171 # This is used in case we want to change the parameter name depending 172 # on what is parsed. 173 my $parameter = $property; 174 175 # "nullNamespace" case 176 if ($property eq "nullNamespace") { 177 $parameter = $elementName.(ucfirst $property); 178 } 179 180 die "Unknown parameter $property for tags/attrs\n" if !defined($parameters{$parameter}); 181 $parameters{$parameter} = $properties{$property}; 182 } 152 die "Unknown parameter $parameter for tags/attrs\n" if !defined($parameters{$parameter}); 153 $parameters{$parameter} = $value; 183 154 } 184 155 … … 187 158 sub readNames 188 159 { 189 my $namesFile = shift;160 my ($namesFile, $type) = @_; 190 161 191 162 my $names = new IO::File; 163 192 164 if ($extraDefines eq 0) { 193 165 open($names, $preprocessor . " " . $namesFile . "|") or die "Failed to open file: $namesFile"; … … 200 172 my $attrsCount = keys %attrs; 201 173 202 my $documentRef = parsefile($names); 203 204 # XML::Tiny returns an array reference to a hash containing the different properties 205 my %document = %{@$documentRef[0]}; 206 my $name = $document{'name'}; 207 208 # Check root element to determine what we are parsing 209 switch($name) { 174 my $InParser = InFilesParser->new(); 175 176 switch ($type) { 210 177 case "tags" { 211 parseParameters(\%{$document{'attrib'}}, $name); 212 parseTags(\@{$document{'content'}}); 178 $InParser->parse($names, \¶metersHandler, \&tagsHandler); 213 179 } 214 180 case "attrs" { 215 parseParameters(\%{$document{'attrib'}}, $name);216 parseAttrs(\@{$document{'content'}});217 }else {218 die "Do not know how to parse file starting with $name!\n";181 $InParser->parse($names, \¶metersHandler, \&attrsHandler); 182 } 183 else { 184 die "Do not know how to parse $type"; 219 185 } 220 186 } -
trunk/WebCore/html/HTMLAttributeNames.in
r35206 r35322 1 <attrs namespace="HTML" namespacePrefix="xhtml" cppNamespace="WebCore" namespaceURI="http://www.w3.org/1999/xhtml" generateFactory="1" generateWrapperFactory="1" nullNamespace="1"> 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 <autofocus/> 23 <autoplay/> 24 <autosave/> 25 <axis/> 26 <background/> 27 <behavior/> 28 <bgcolor/> 29 <bgproperties/> 30 <border/> 31 <bordercolor/> 32 <cellpadding/> 33 <cellspacing/> 34 <char/> 35 <challenge/> 36 <charoff/> 37 <charset/> 38 <checked/> 39 <cellborder/> 40 <cite/> 41 <class exportString="1"/> 42 <classid/> 43 <clear/> 44 <code/> 45 <codebase/> 46 <codetype/> 47 <color/> 48 <cols/> 49 <colspan/> 50 <compact/> 51 <composite/> 52 <content/> 53 <contenteditable/> 54 <controls/> 55 <coords/> 56 <data/> 57 <datetime/> 58 <declare/> 59 <defer/> 60 <dir/> 61 <direction/> 62 <disabled/> 63 <enctype/> 64 <end/> 65 <face/> 66 <for/> 67 <frame/> 68 <frameborder/> 69 <headers/> 70 <height/> 71 <hidden/> 72 <href/> 73 <hreflang/> 74 <hspace/> 75 <http_equiv/> 76 <id/> 77 <incremental/> 78 <ismap/> 79 <keytype/> 80 <label/> 81 <lang/> 82 <language/> 83 <left/> 84 <leftmargin/> 85 <link/> 86 <longdesc/> 87 <loop/> 88 <playcount/> 89 <loopend/> 90 <loopstart/> 91 <lowsrc/> 92 <manifest/> 93 <marginheight/> 94 <marginwidth/> 95 <max/> 96 <maxlength/> 97 <mayscript/> 98 <media/> 99 <method/> 100 <min/> 101 <multiple/> 102 <name/> 103 <nohref/> 104 <noresize/> 105 <noshade/> 106 <nowrap/> 107 <object/> 108 <onabort/> 109 <onbeforecopy/> 110 <onbeforecut/> 111 <onbeforepaste/> 112 <onbeforeunload/> 113 <onblur/> 114 <onchange/> 115 <onclick/> 116 <oncontextmenu/> 117 <oncopy/> 118 <oncut/> 119 <ondblclick/> 120 <ondrag/> 121 <ondragend/> 122 <ondragenter/> 123 <ondragleave/> 124 <ondragover/> 125 <ondragstart/> 126 <ondrop/> 127 <onerror/> 128 <onfocus/> 129 <oninput/> 130 <onkeydown/> 131 <onkeypress/> 132 <onkeyup/> 133 <onload/> 134 <onmousedown/> 135 <onmousemove/> 136 <onmouseout/> 137 <onmouseover/> 138 <onmouseup/> 139 <onmousewheel/> 140 <onpaste/> 141 <onreset/> 142 <onresize/> 143 <onscroll/> 144 <onsearch/> 145 <onselect/> 146 <onselectstart/> 147 <onstorage/> 148 <onsubmit/> 149 <onunload/> 150 <pagex/> 151 <pagey/> 152 <placeholder/> 153 <plain/> 154 <pluginpage/> 155 <pluginspage/> 156 <pluginurl/> 157 <poster/> 158 <precision/> 159 <profile/> 160 <prompt/> 161 <readonly/> 162 <rel/> 163 <results/> 164 <rev/> 165 <role/> 166 <rows/> 167 <rowspan/> 168 <rules/> 169 <scheme/> 170 <scope/> 171 <scrollamount/> 172 <scrolldelay/> 173 <scrolling/> 174 <selected/> 175 <shape/> 176 <size/> 177 <span/> 178 <src/> 179 <standby/> 180 <start/> 181 <style/> 182 <summary/> 183 <tabindex/> 184 <tableborder/> 185 <target/> 186 <text/> 187 <title/> 188 <top/> 189 <topmargin/> 190 <truespeed/> 191 <type/> 192 <usemap/> 193 <valign/> 194 <value/> 195 <valuetype/> 196 <version/> 197 <viewsource/> 198 <vlink/> 199 <vspace/> 200 <width/> 201 <wrap/> 202 </attrs> 1 namespace="HTML" 2 namespacePrefix="xhtml" 3 cppNamespace="WebCore" 4 namespaceURI="http://www.w3.org/1999/xhtml" 5 generateFactory="1" 6 generateWrapperFactory="1" 7 attrsNullNamespace="1" 8 9 abbr 10 accept_charset 11 accept 12 accesskey 13 action 14 align 15 alink 16 alt 17 archive 18 aria-activedescendant 19 aria-checked 20 aria-describedby 21 aria-labeledby 22 aria-labelledby 23 aria-level 24 aria-pressed 25 aria-valuemax 26 aria-valuemin 27 aria-valuenow 28 autocomplete 29 autofocus 30 autoplay 31 autosave 32 axis 33 background 34 behavior 35 bgcolor 36 bgproperties 37 border 38 bordercolor 39 cellpadding 40 cellspacing 41 char 42 challenge 43 charoff 44 charset 45 checked 46 cellborder 47 cite 48 class exportString="1" 49 classid 50 clear 51 code 52 codebase 53 codetype 54 color 55 cols 56 colspan 57 compact 58 composite 59 content 60 contenteditable 61 controls 62 coords 63 data 64 datetime 65 declare 66 defer 67 dir 68 direction 69 disabled 70 enctype 71 end 72 face 73 for 74 frame 75 frameborder 76 headers 77 height 78 hidden 79 href 80 hreflang 81 hspace 82 http_equiv 83 id 84 incremental 85 ismap 86 keytype 87 label 88 lang 89 language 90 left 91 leftmargin 92 link 93 longdesc 94 loop 95 playcount 96 loopend 97 loopstart 98 lowsrc 99 manifest 100 marginheight 101 marginwidth 102 max 103 maxlength 104 mayscript 105 media 106 method 107 min 108 multiple 109 name 110 nohref 111 noresize 112 noshade 113 nowrap 114 object 115 onabort 116 onbeforecopy 117 onbeforecut 118 onbeforepaste 119 onbeforeunload 120 onblur 121 onchange 122 onclick 123 oncontextmenu 124 oncopy 125 oncut 126 ondblclick 127 ondrag 128 ondragend 129 ondragenter 130 ondragleave 131 ondragover 132 ondragstart 133 ondrop 134 onerror 135 onfocus 136 oninput 137 onkeydown 138 onkeypress 139 onkeyup 140 onload 141 onmousedown 142 onmousemove 143 onmouseout 144 onmouseover 145 onmouseup 146 onmousewheel 147 onpaste 148 onreset 149 onresize 150 onscroll 151 onsearch 152 onselect 153 onselectstart 154 onstorage 155 onsubmit 156 onunload 157 pagex 158 pagey 159 placeholder 160 plain 161 pluginpage 162 pluginspage 163 pluginurl 164 poster 165 precision 166 profile 167 prompt 168 readonly 169 rel 170 results 171 rev 172 role 173 rows 174 rowspan 175 rules 176 scheme 177 scope 178 scrollamount 179 scrolldelay 180 scrolling 181 selected 182 shape 183 size 184 span 185 src 186 standby 187 start 188 style 189 summary 190 tabindex 191 tableborder 192 target 193 text 194 title 195 top 196 topmargin 197 truespeed 198 type 199 usemap 200 valign 201 value 202 valuetype 203 version 204 viewsource 205 vlink 206 vspace 207 width 208 wrap -
trunk/WebCore/html/HTMLTagNames.in
r34484 r35322 1 <tags namespace="HTML" namespacePrefix="xhtml" cppNamespace="WebCore" namespaceURI="http://www.w3.org/1999/xhtml" generateFactory="1" generateWrapperFactory="1"> 2 <a upperCase="Anchor"/> 3 <abbr/> 4 <acronym/> 5 <address/> 6 <applet/> 7 <area/> 1 namespace="HTML" 2 namespacePrefix="xhtml" 3 cppNamespace="WebCore" 4 namespaceURI="http://www.w3.org/1999/xhtml" 5 generateFactory="1" 6 generateWrapperFactory="1" 7 8 a upperCase=Anchor 9 abbr 10 acronym 11 address 12 applet 13 area 8 14 #if ENABLE_VIDEO 9 <audio applyAudioHack="1"/> 15 audio applyAudioHack=1 10 16 #endif 11 <b/> 12 <base/> 13 <basefont upperCase="BaseFont"/> 14 <bdo/> 15 <big/> 16 <blockquote/> 17 <body/> 18 <br upperCase="BR"/> 19 <button/> 20 <canvas/> 21 <caption upperCase="TableCaption"/> 22 <center/> 23 <cite/> 24 <code/> 25 <col upperCase="TableCol"/> 26 <colgroup/> 27 <dd/> 28 <del upperCase="Mod"/> 29 <dfn/> 30 <dir upperCase="Directory"/> 31 <div/> 32 <dl upperCase="DList"/> 33 <dt/> 34 <em/> 35 <embed/> 36 <fieldset upperCase="FieldSet"/> 37 <font/> 38 <form/> 39 <frame/> 40 <frameset upperCase="FrameSet"/> 41 <head/> 42 <h1 upperCase="Heading"/> 43 <h2/> 44 <h3/> 45 <h4/> 46 <h5/> 47 <h6/> 48 <hr upperCase="HR"/> 49 <html/> 50 <i/> 51 <iframe upperCase="IFrame"/> 52 <image/> 53 <img upperCase="Image"/> 54 <input/> 55 <ins/> 56 <isindex upperCase="IsIndex"/> 57 <kbd/> 58 <keygen/> 59 <label/> 60 <layer/> 61 <legend/> 62 <li upperCase="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 upperCase="OList"/> 76 <optgroup upperCase="OptGroup"/> 77 <option/> 78 <p upperCase="Paragraph"/> 79 <param/> 80 <plaintext/> 81 <pre/> 82 <q upperCase="Quote"/> 83 <s/> 84 <samp/> 85 <script/> 86 <select/> 87 <small/> 17 b 18 base 19 basefont upperCase=BaseFont 20 bdo 21 big 22 blockquote 23 body 24 br upperCase=BR 25 button 26 canvas 27 caption upperCase=TableCaption 28 center 29 cite 30 code 31 col upperCase=TableCol 32 colgroup 33 dd 34 del upperCase=Mod 35 dfn 36 dir upperCase=Directory 37 div 38 dl upperCase=DList 39 dt 40 em 41 embed 42 fieldset upperCase=FieldSet 43 font 44 form 45 frame 46 frameset upperCase=FrameSet 47 head 48 h1 upperCase=Heading 49 h2 50 h3 51 h4 52 h5 53 h6 54 hr upperCase=HR 55 html 56 i 57 iframe upperCase=IFrame 58 image 59 img upperCase=Image 60 input 61 ins 62 isindex upperCase=IsIndex 63 kbd 64 keygen 65 label 66 layer 67 legend 68 li upperCase=LI 69 link 70 listing 71 map 72 marquee 73 menu 74 meta 75 nobr 76 noembed 77 noframes 78 nolayer 79 noscript 80 object 81 ol upperCase=OList 82 optgroup upperCase=OptGroup 83 option 84 p upperCase=Paragraph 85 param 86 plaintext 87 pre 88 q upperCase=Quote 89 s 90 samp 91 script 92 select 93 small 88 94 #if ENABLE_VIDEO 89 <source applyAudioHack="1"/> 95 source applyAudioHack=1 90 96 #endif 91 <span/> 92 <strike/> 93 <strong/> 94 <style/> 95 <sub/> 96 <sup/> 97 <table/> 98 <tbody upperCase="TableSection"/> 99 <td upperCase="TableCell"/> 100 <textarea upperCase="TextArea"/> 101 <tfoot/> 102 <th/> 103 <thead/> 104 <title/> 105 <tr upperCase="TableRow"/> 106 <tt/> 107 <u/> 108 <ul upperCase="UList"/> 109 <var/> 97 span 98 strike 99 strong 100 style 101 sub 102 sup 103 table 104 tbody upperCase=TableSection 105 td upperCase=TableCell 106 textarea upperCase=TextArea 107 tfoot 108 th 109 thead 110 title 111 tr upperCase=TableRow 112 tt 113 u 114 ul upperCase=UList 115 var 110 116 #if ENABLE_VIDEO 111 <video applyAudioHack="1"/> 117 video applyAudioHack=1 112 118 #endif 113 <wbr/> 114 <xmp/> 115 </tags> 119 wbr 120 xmp -
trunk/WebCore/svg/svgattrs.in
r35206 r35322 1 <attrs namespace="SVG" cppNamespace="WebCore" namespaceURI="http://www.w3.org/2000/svg" generateFactory="1" generateWrapperFactory="1" guardFactoryWith="ENABLE(SVG)" nullNamespace="1" exportStrings="1"> 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> 1 namespace="SVG" 2 cppNamespace="WebCore" 3 namespaceURI="http://www.w3.org/2000/svg" 4 generateFactory="1" 5 generateWrapperFactory="1" 6 guardFactoryWith="ENABLE(SVG)" 7 attrsNullNamespace="1" 8 exportStrings="1" 9 10 accent-height 11 accumulate 12 additive 13 alignment-baseline 14 alphabetic 15 amplitude 16 animate 17 arabic-form 18 ascent 19 attributeName 20 attributeType 21 azimuth 22 baseFrequency 23 baseline-shift 24 baseProfile 25 bbox 26 begin 27 bias 28 by 29 calcMode 30 cap-height 31 clip 32 clip-path 33 clip-rule 34 clipPathUnits 35 color 36 color-interpolation 37 color-interpolation-filters 38 color-profile 39 color-rendering 40 contentScriptType 41 contentStyleType 42 cursor 43 cx 44 cy 45 d 46 descent 47 diffuseConstant 48 direction 49 display 50 divisor 51 dominant-baseline 52 dur 53 dx 54 dy 55 edgeMode 56 elevation 57 enable-background 58 end 59 exponent 60 externalResourcesRequired 61 feColorMatrix 62 feComposite 63 feGaussianBlur 64 feMorphology 65 feTile 66 fill 67 fill-opacity 68 fill-rule 69 filter 70 filterRes 71 filterUnits 72 flood-color 73 flood-opacity 74 font-family 75 font-size 76 font-size-adjust 77 font-stretch 78 font-style 79 font-variant 80 font-weight 81 format 82 from 83 fx 84 fy 85 g1 86 g2 87 glyph-name 88 glyph-orientation-horizontal 89 glyph-orientation-vertical 90 glyphRef 91 gradientTransform 92 gradientUnits 93 hanging 94 height 95 horiz-adv-x 96 horiz-origin-x 97 horiz-origin-y 98 ideographic 99 image-rendering 100 in 101 in2 102 intercept 103 k 104 k1 105 k2 106 k3 107 k4 108 kernelMatrix 109 kernelUnitLength 110 kerning 111 keyPoints 112 keySplines 113 keyTimes 114 lang 115 lengthAdjust 116 letter-spacing 117 lighting-color 118 limitingConeAngle 119 local 120 marker-end 121 marker-mid 122 marker-start 123 markerHeight 124 markerUnits 125 markerWidth 126 mask 127 maskContentUnits 128 maskUnits 129 mathematical 130 max 131 media 132 method 133 min 134 mode 135 name 136 numOctaves 137 offset 138 onactivate 139 onbegin 140 onend 141 onfocusin 142 onfocusout 143 onrepeat 144 onzoom 145 opacity 146 operator 147 order 148 orient 149 orientation 150 origin 151 overflow 152 overline-position 153 overline-thickness 154 panose-1 155 path 156 pathLength 157 patternContentUnits 158 patternTransform 159 patternUnits 160 pointer-events 161 points 162 pointsAtX 163 pointsAtY 164 pointsAtZ 165 preserveAlpha 166 preserveAspectRatio 167 primitiveUnits 168 r 169 radius 170 refX 171 refY 172 rendering-intent 173 repeatCount 174 repeatDur 175 requiredExtensions 176 requiredFeatures 177 restart 178 result 179 rotate 180 rx 181 ry 182 scale 183 seed 184 shape-rendering 185 slope 186 spacing 187 specularConstant 188 specularExponent 189 spreadMethod 190 startOffset 191 stdDeviation 192 stemh 193 stemv 194 stitchTiles 195 stop-color 196 stop-opacity 197 strikethrough-position 198 strikethrough-thickness 199 stroke 200 stroke-dasharray 201 stroke-dashoffset 202 stroke-linecap 203 stroke-linejoin 204 stroke-miterlimit 205 stroke-opacity 206 stroke-width 207 style 208 surfaceScale 209 systemLanguage 210 tableValues 211 target 212 targetX 213 targetY 214 text-anchor 215 text-decoration 216 text-rendering 217 textLength 218 title 219 to 220 transform 221 type 222 u1 223 u2 224 underline-position 225 underline-thickness 226 unicode 227 unicode-bidi 228 unicode-range 229 units-per-em 230 v-alphabetic 231 v-hanging 232 v-ideographic 233 v-mathematical 234 values 235 version 236 vert-adv-y 237 vert-origin-x 238 vert-origin-y 239 viewBox 240 viewTarget 241 visibility 242 width 243 widths 244 word-spacing 245 writing-mode 246 x 247 x-height 248 x1 249 x2 250 xChannelSelector 251 y 252 y1 253 y2 254 yChannelSelector 255 z 256 zoomAndPan -
trunk/WebCore/svg/svgtags.in
r35206 r35322 1 <tags namespace="SVG" cppNamespace="WebCore" namespaceURI="http://www.w3.org/2000/svg" generateFactory="1" generateWrapperFactory="1" guardFactoryWith="ENABLE(SVG)" exportStrings="1"> 2 <a/> 1 namespace="SVG" 2 cppNamespace="WebCore" 3 namespaceURI="http://www.w3.org/2000/svg" 4 generateFactory="1" 5 generateWrapperFactory="1" 6 guardFactoryWith="ENABLE(SVG)" 7 exportStrings="1" 8 9 a 3 10 #if ENABLE_SVG_FONTS 4 <altGlyph/> 11 altGlyph 5 12 #endif 6 13 #if 0 7 <altGlyphDef/> 8 <altGlyphItem/> 14 altGlyphDef 15 altGlyphItem 9 16 #endif 10 17 #ifdef ENABLE_SVG_ANIMATION 11 <animate/> 12 <animateColor/> 13 <animateMotion/> 14 <animateTransform/> 15 <set/> 18 animate 19 animateColor 20 animateMotion 21 animateTransform 22 set 16 23 #endif 17 <circle/> 18 <clipPath/> 24 circle 25 clipPath 19 26 #if 0 20 <color_profile/> 27 color_profile 21 28 #endif 22 <cursor/> 29 cursor 23 30 #if ENABLE_SVG_FONTS 24 <definition_src/> 31 definition_src 25 32 #endif 26 <defs/> 27 <desc/> 28 <ellipse/> 33 defs 34 desc 35 ellipse 29 36 #ifdef ENABLE_SVG_FILTERS 30 <feBlend/> 31 <feColorMatrix/> 32 <feComponentTransfer/> 33 <feComposite/> 37 feBlend 38 feColorMatrix 39 feComponentTransfer 40 feComposite 34 41 #if 0 35 <feConvolveMatrix/> 42 feConvolveMatrix 36 43 #endif 37 <feDiffuseLighting/> 38 <feDisplacementMap/> 39 <feDistantLight/> 40 <feFlood/> 41 <feFuncA/> 42 <feFuncB/> 43 <feFuncG/> 44 <feFuncR/> 45 <feGaussianBlur/> 46 <feImage/> 47 <feMerge/> 48 <feMergeNode/> 44 feDiffuseLighting 45 feDisplacementMap 46 feDistantLight 47 feFlood 48 feFuncA 49 feFuncB 50 feFuncG 51 feFuncR 52 feGaussianBlur 53 feImage 54 feMerge 55 feMergeNode 49 56 #if 0 50 <feMorphology/> 57 feMorphology 51 58 #endif 52 <feOffset/> 53 <fePointLight/> 54 <feSpecularLighting/> 55 <feSpotLight/> 56 <feTile/> 57 <feTurbulence/> 58 <filter/> 59 feOffset 60 fePointLight 61 feSpecularLighting 62 feSpotLight 63 feTile 64 feTurbulence 65 filter 59 66 #endif 60 67 #ifdef ENABLE_SVG_FONTS 61 <font/> 62 <font_face/> 63 <font_face_format/> 64 <font_face_name/> 65 <font_face_src/> 66 <font_face_uri/> 68 font 69 font_face 70 font_face_format 71 font_face_name 72 font_face_src 73 font_face_uri 67 74 #endif 68 75 #ifdef ENABLE_SVG_FOREIGN_OBJECT 69 <foreignObject/> 76 foreignObject 70 77 #endif 71 <g/> 78 g 72 79 #ifdef ENABLE_SVG_FONTS 73 <glyph/> 80 glyph 74 81 #endif 75 82 #if 0 76 <glyphRef/> 83 glyphRef 77 84 #endif 78 85 #ifdef ENABLE_SVG_FONTS 79 <hkern upperCase="HKern"/> 86 hkern upperCase="HKern" 80 87 #endif 81 <image/> 82 <line/> 83 <linearGradient/> 84 <marker/> 85 <mask/> 86 <metadata/> 88 image 89 line 90 linearGradient 91 marker 92 mask 93 metadata 87 94 #ifdef ENABLE_SVG_FONTS 88 <missing_glyph/> 95 missing_glyph 89 96 #endif 90 <mpath upperCase="MPath"/> 91 <path/> 92 <pattern/> 93 <polygon/> 94 <polyline/> 95 <radialGradient/> 96 <rect/> 97 <script/> 98 <stop/> 99 <style/> 100 <svg upperCase="SVG"/> 101 <switch/> 102 <symbol/> 103 <text/> 104 <textPath/> 105 <title/> 106 <tref upperCase="TRef"/> 107 <tspan upperCase="TSpan"/> 108 <use/> 109 <view/> 97 mpath upperCase="MPath" 98 path 99 pattern 100 polygon 101 polyline 102 radialGradient 103 rect 104 script 105 stop 106 style 107 svg upperCase="SVG" 108 switch 109 symbol 110 text 111 textPath 112 title 113 tref upperCase="TRef" 114 tspan upperCase="TSpan" 115 use 116 view 110 117 #if 0 111 <vkern upperCase="VKern"/> 118 vkern upperCase="VKern" 112 119 #endif 113 </tags> -
trunk/WebCore/svg/xlinkattrs.in
r35206 r35322 1 <attrs namespace="XLink" cppNamespace="WebCore" namespaceURI="http://www.w3.org/1999/xlink" exportStrings="1"> 2 <actuate/> 3 <arcrole/> 4 <href/> 5 <role/> 6 <show/> 7 <title/> 8 <type/> 9 </attrs> 1 namespace="XLink" 2 cppNamespace="WebCore" 3 namespaceURI="http://www.w3.org/1999/xlink" 4 exportStrings="1" 5 6 actuate 7 arcrole 8 href 9 role 10 show 11 title 12 type -
trunk/WebCore/xml/xmlattrs.in
r34467 r35322 1 <attrs namespace="XML" cppNamespace="WebCore" namespaceURI="http://www.w3.org/XML/1998/namespace"> 2 <base/> 3 <lang/> 4 <space/> 5 </attrs> 1 namespace="XML" 2 cppNamespace="WebCore" 3 namespaceURI="http://www.w3.org/XML/1998/namespace" 4 5 base 6 lang 7 space
Note: See TracChangeset
for help on using the changeset viewer.