Changeset 91331 in webkit


Ignore:
Timestamp:
Jul 19, 2011 7:48:33 PM (13 years ago)
Author:
leo.yang@torchmobile.com.cn
Message:

SVG: Missing implementation of <altGlyphDef>, <altGlyphItem> and <glyphRef>
https://bugs.webkit.org/show_bug.cgi?id=60850

Reviewed by Nikolas Zimmermann.

SVG spec: http://www.w3.org/TR/SVG/text.html#AlternateGlyphDefinitions.
This patch is to implement SVG <altGlyphDef>, <altGlyphItem> and <glyphRef>
elements for alternative glyph features.

Source/WebCore:

NOTE: x, y, dx, dy, format and glyphRef attributes on <glyphRef> are not
honored yet, so neither are the reaction of dynamic change of them. They
will be honored in separated patches.

Test: svg/W3C-SVG-1.1/text-altglyph-01-b.svg
With this patch this test works as expected.

  • CMakeLists.txt:
  • CodeGenerators.pri:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.list.am:
  • WebCore.exp.in:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/objc/DOM.mm:

(WebCore::createElementClassMap):

  • bindings/objc/DOMSVG.h:
  • page/DOMWindow.idl:
  • svg/SVGAllInOne.cpp:
  • svg/SVGAltGlyphDefElement.cpp: Added.

(WebCore::SVGAltGlyphDefElement::SVGAltGlyphDefElement):
(WebCore::SVGAltGlyphDefElement::create):
(WebCore::SVGAltGlyphDefElement::hasValidGlyphElements):

  • svg/SVGAltGlyphDefElement.h: Added.
  • svg/SVGAltGlyphDefElement.idl: Added.
  • svg/SVGAltGlyphElement.cpp:

(WebCore::SVGAltGlyphElement::hasValidGlyphElements):

  • svg/SVGAltGlyphElement.h:
  • svg/SVGAltGlyphItemElement.cpp: Added.

(WebCore::SVGAltGlyphItemElement::SVGAltGlyphItemElement):
(WebCore::SVGAltGlyphItemElement::create):
(WebCore::SVGAltGlyphItemElement::hasValidGlyphElements):

  • svg/SVGAltGlyphItemElement.h: Added.
  • svg/SVGAltGlyphItemElement.idl: Added.
  • svg/SVGFontData.cpp:

(WebCore::SVGFontData::applySVGGlyphSelection):

  • svg/SVGGlyphRefElement.cpp: Added.

(WebCore::SVGGlyphRefElement::SVGGlyphRefElement):
(WebCore::SVGGlyphRefElement::create):
(WebCore::SVGGlyphRefElement::hasValidGlyphElement):
(WebCore::SVGGlyphRefElement::parseMappedAttribute):
(WebCore::SVGGlyphRefElement::glyphRef):
(WebCore::SVGGlyphRefElement::setGlyphRef):
(WebCore::SVGGlyphRefElement::setX):
(WebCore::SVGGlyphRefElement::setY):
(WebCore::SVGGlyphRefElement::setDx):
(WebCore::SVGGlyphRefElement::setDy):

  • svg/SVGGlyphRefElement.h: Added.
  • svg/SVGGlyphRefElement.idl: Added.
  • svg/svgtags.in:

Source/WebKit/mac:

  • MigrateHeaders.make:

LayoutTests:

Updated test expectation.

  • platform/chromium-linux/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
Location:
trunk
Files:
9 added
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r91329 r91331  
     12011-07-19  Leo Yang  <leoyang.webkit@gmail.com>
     2
     3        SVG: Missing implementation of <altGlyphDef>, <altGlyphItem> and <glyphRef>
     4        https://bugs.webkit.org/show_bug.cgi?id=60850
     5
     6        Reviewed by Nikolas Zimmermann.
     7
     8        SVG spec: http://www.w3.org/TR/SVG/text.html#AlternateGlyphDefinitions.
     9        This patch is to implement SVG <altGlyphDef>, <altGlyphItem> and <glyphRef>
     10        elements for alternative glyph features.
     11
     12        Updated test expectation.
     13
     14        * platform/chromium-linux/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
     15
    1162011-07-19  Ryosuke Niwa  <rniwa@webkit.org>
    217
  • trunk/Source/WebCore/CMakeLists.txt

    r91250 r91331  
    16631663        svg/ColorDistance.cpp
    16641664        svg/SVGAElement.cpp
     1665        svg/SVGAltGlyphDefElement.cpp
    16651666        svg/SVGAltGlyphElement.cpp
     1667        svg/SVGAltGlyphItemElement.cpp
    16661668        svg/SVGAngle.cpp
    16671669        svg/SVGAnimateColorElement.cpp
     
    17381740        svg/SVGGElement.cpp
    17391741        svg/SVGGlyphElement.cpp
     1742        svg/SVGGlyphRefElement.cpp
    17401743        svg/SVGGradientElement.cpp
    17411744        svg/SVGHKernElement.cpp
     
    18211824    LIST(APPEND WebCore_IDL_FILES
    18221825        svg/SVGAElement.idl
     1826        svg/SVGAltGlyphDefElement.idl
    18231827        svg/SVGAltGlyphElement.idl
     1828        svg/SVGAltGlyphItemElement.idl
    18241829        svg/SVGAngle.idl
    18251830        svg/SVGAnimateColorElement.idl
     
    18881893        svg/SVGGElement.idl
    18891894        svg/SVGGlyphElement.idl
     1895        svg/SVGGlyphRefElement.idl
    18901896        svg/SVGGradientElement.idl
    18911897        svg/SVGHKernElement.idl
  • trunk/Source/WebCore/ChangeLog

    r91325 r91331  
     12011-07-19  Leo Yang  <leoyang.webkit@gmail.com>
     2
     3        SVG: Missing implementation of <altGlyphDef>, <altGlyphItem> and <glyphRef>
     4        https://bugs.webkit.org/show_bug.cgi?id=60850
     5
     6        Reviewed by Nikolas Zimmermann.
     7
     8        SVG spec: http://www.w3.org/TR/SVG/text.html#AlternateGlyphDefinitions.
     9        This patch is to implement SVG <altGlyphDef>, <altGlyphItem> and <glyphRef>
     10        elements for alternative glyph features.
     11
     12        NOTE: x, y, dx, dy, format and glyphRef attributes on <glyphRef> are not
     13        honored yet, so neither are the reaction of dynamic change of them. They
     14        will be honored in separated patches.
     15
     16        Test: svg/W3C-SVG-1.1/text-altglyph-01-b.svg
     17        With this patch this test works as expected.
     18
     19        * CMakeLists.txt:
     20        * CodeGenerators.pri:
     21        * DerivedSources.cpp:
     22        * DerivedSources.make:
     23        * GNUmakefile.list.am:
     24        * WebCore.exp.in:
     25        * WebCore.gypi:
     26        * WebCore.pro:
     27        * WebCore.vcproj/WebCore.vcproj:
     28        * WebCore.xcodeproj/project.pbxproj:
     29        * bindings/objc/DOM.mm:
     30        (WebCore::createElementClassMap):
     31        * bindings/objc/DOMSVG.h:
     32        * page/DOMWindow.idl:
     33        * svg/SVGAllInOne.cpp:
     34        * svg/SVGAltGlyphDefElement.cpp: Added.
     35        (WebCore::SVGAltGlyphDefElement::SVGAltGlyphDefElement):
     36        (WebCore::SVGAltGlyphDefElement::create):
     37        (WebCore::SVGAltGlyphDefElement::hasValidGlyphElements):
     38        * svg/SVGAltGlyphDefElement.h: Added.
     39        * svg/SVGAltGlyphDefElement.idl: Added.
     40        * svg/SVGAltGlyphElement.cpp:
     41        (WebCore::SVGAltGlyphElement::hasValidGlyphElements):
     42        * svg/SVGAltGlyphElement.h:
     43        * svg/SVGAltGlyphItemElement.cpp: Added.
     44        (WebCore::SVGAltGlyphItemElement::SVGAltGlyphItemElement):
     45        (WebCore::SVGAltGlyphItemElement::create):
     46        (WebCore::SVGAltGlyphItemElement::hasValidGlyphElements):
     47        * svg/SVGAltGlyphItemElement.h: Added.
     48        * svg/SVGAltGlyphItemElement.idl: Added.
     49        * svg/SVGFontData.cpp:
     50        (WebCore::SVGFontData::applySVGGlyphSelection):
     51        * svg/SVGGlyphRefElement.cpp: Added.
     52        (WebCore::SVGGlyphRefElement::SVGGlyphRefElement):
     53        (WebCore::SVGGlyphRefElement::create):
     54        (WebCore::SVGGlyphRefElement::hasValidGlyphElement):
     55        (WebCore::SVGGlyphRefElement::parseMappedAttribute):
     56        (WebCore::SVGGlyphRefElement::glyphRef):
     57        (WebCore::SVGGlyphRefElement::setGlyphRef):
     58        (WebCore::SVGGlyphRefElement::setX):
     59        (WebCore::SVGGlyphRefElement::setY):
     60        (WebCore::SVGGlyphRefElement::setDx):
     61        (WebCore::SVGGlyphRefElement::setDy):
     62        * svg/SVGGlyphRefElement.h: Added.
     63        * svg/SVGGlyphRefElement.idl: Added.
     64        * svg/svgtags.in:
     65
    1662011-07-19  Adam Roben  <aroben@apple.com>
    267
  • trunk/Source/WebCore/CodeGenerators.pri

    r90392 r91331  
    442442    svg/SVGZoomEvent.idl \
    443443    svg/SVGAElement.idl \
     444    svg/SVGAltGlyphDefElement.idl \
    444445    svg/SVGAltGlyphElement.idl \
     446    svg/SVGAltGlyphItemElement.idl \
    445447    svg/SVGAngle.idl \
    446448    svg/SVGAnimateColorElement.idl \
     
    509511    svg/SVGGElement.idl \
    510512    svg/SVGGlyphElement.idl \
     513    svg/SVGGlyphRefElement.idl \
    511514    svg/SVGGradientElement.idl \
    512515    svg/SVGHKernElement.idl \
  • trunk/Source/WebCore/DerivedSources.cpp

    r89567 r91331  
    300300#include "JSStyleSheetList.cpp"
    301301#include "JSSVGAElement.cpp"
     302#include "JSSVGAltGlyphDefElement.cpp"
    302303#include "JSSVGAltGlyphElement.cpp"
     304#include "JSSVGAltGlyphItemElement.cpp"
    303305#include "JSSVGAngle.cpp"
    304306#include "JSSVGAnimateColorElement.cpp"
     
    367369#include "JSSVGGElement.cpp"
    368370#include "JSSVGGlyphElement.cpp"
     371#include "JSSVGGlyphRefElement.cpp"
    369372#include "JSSVGGradientElement.cpp"
    370373#include "JSSVGHKernElement.cpp"
  • trunk/Source/WebCore/DerivedSources.make

    r91281 r91331  
    373373    StringCallback \
    374374    SVGAElement \
     375    SVGAltGlyphDefElement \
    375376    SVGAltGlyphElement \
     377    SVGAltGlyphItemElement \
    376378    SVGAngle \
    377379    SVGAnimateColorElement \
     
    443445    SVGGElement \
    444446    SVGGlyphElement \
     447    SVGGlyphRefElement \
    445448    SVGGradientElement \
    446449    SVGHKernElement \
  • trunk/Source/WebCore/GNUmakefile.list.am

    r91250 r91331  
    34343434        Source/WebCore/svg/SVGAElement.cpp \
    34353435        Source/WebCore/svg/SVGAElement.h \
     3436        Source/WebCore/svg/SVGAltGlyphDefElement.cpp \
     3437        Source/WebCore/svg/SVGAltGlyphDefElement.h \
    34363438        Source/WebCore/svg/SVGAltGlyphElement.cpp \
    34373439        Source/WebCore/svg/SVGAltGlyphElement.h \
     3440        Source/WebCore/svg/SVGAltGlyphItemElement.cpp \
     3441        Source/WebCore/svg/SVGAltGlyphItemElement.h \
    34383442        Source/WebCore/svg/SVGAngle.cpp \
    34393443        Source/WebCore/svg/SVGAngle.h \
     
    35903594        Source/WebCore/svg/SVGGlyphElement.cpp \
    35913595        Source/WebCore/svg/SVGGlyphElement.h \
     3596        Source/WebCore/svg/SVGGlyphRefElement.cpp \
     3597        Source/WebCore/svg/SVGGlyphRefElement.h \
    35923598        Source/WebCore/svg/SVGGlyphMap.h \
    35933599        Source/WebCore/svg/SVGGradientElement.cpp \
     
    42214227        DerivedSources/WebCore/JSSVGAElement.cpp \
    42224228        DerivedSources/WebCore/JSSVGAElement.h \
     4229        DerivedSources/WebCore/JSSVGAltGlyphDefElement.cpp \
     4230        DerivedSources/WebCore/JSSVGAltGlyphDefElement.h \
    42234231        DerivedSources/WebCore/JSSVGAltGlyphElement.cpp \
    42244232        DerivedSources/WebCore/JSSVGAltGlyphElement.h \
     4233        DerivedSources/WebCore/JSSVGAltGlyphItemElement.cpp \
     4234        DerivedSources/WebCore/JSSVGAltGlyphItemElement.h \
    42254235        DerivedSources/WebCore/JSSVGAngle.cpp \
    42264236        DerivedSources/WebCore/JSSVGAngle.h \
     
    43574367        DerivedSources/WebCore/JSSVGGlyphElement.cpp \
    43584368        DerivedSources/WebCore/JSSVGGlyphElement.h \
     4369        DerivedSources/WebCore/JSSVGGlyphRefElement.cpp \
     4370        DerivedSources/WebCore/JSSVGGlyphRefElement.h \
    43594371        DerivedSources/WebCore/JSSVGGradientElement.cpp \
    43604372        DerivedSources/WebCore/JSSVGGradientElement.h \
  • trunk/Source/WebCore/WebCore.exp.in

    r91235 r91331  
    16921692#if ENABLE(SVG) && ENABLE(SVG_DOM_OBJC_BINDINGS)
    16931693.objc_class_name_DOMSVGAElement
     1694.objc_class_name_DOMSVGAltGlyphDefElement
    16941695.objc_class_name_DOMSVGAltGlyphElement
     1696.objc_class_name_DOMSVGAltGlyphItemElement
    16951697.objc_class_name_DOMSVGAngle
    16961698.objc_class_name_DOMSVGAnimateColorElement
     
    17201722.objc_class_name_DOMSVGEllipseElement
    17211723.objc_class_name_DOMSVGGElement
     1724.objc_class_name_DOMSVGGlyphRefElement
    17221725.objc_class_name_DOMSVGGradientElement
    17231726.objc_class_name_DOMSVGImageElement
  • trunk/Source/WebCore/WebCore.gypi

    r91281 r91331  
    14761476            'svg/SVGAElement.idl',
    14771477            'svg/SVGAltGlyphElement.idl',
     1478            'svg/SVGAltGlyphItemElement.idl',
     1479            'svg/SVGAltGlyphDefElement.idl',
    14781480            'svg/SVGAngle.idl',
    14791481            'svg/SVGAnimateColorElement.idl',
     
    15451547            'svg/SVGGElement.idl',
    15461548            'svg/SVGGlyphElement.idl',
     1549            'svg/SVGGlyphRefElement.idl',
    15471550            'svg/SVGGradientElement.idl',
    15481551            'svg/SVGHKernElement.idl',
     
    56905693            'svg/SVGAElement.h',
    56915694            'svg/SVGAllInOne.cpp',
     5695            'svg/SVGAltGlyphDefElement.cpp',
     5696            'svg/SVGAltGlyphDefElement.h',
    56925697            'svg/SVGAltGlyphElement.cpp',
    56935698            'svg/SVGAltGlyphElement.h',
     5699            'svg/SVGAltGlyphItemElement.cpp',
     5700            'svg/SVGAltGlyphItemElement.h',
    56945701            'svg/SVGAngle.cpp',
    56955702            'svg/SVGAnimateColorElement.cpp',
     
    58235830            'svg/SVGGlyphElement.cpp',
    58245831            'svg/SVGGlyphElement.h',
     5832            'svg/SVGGlyphRefElement.cpp',
     5833            'svg/SVGGlyphRefElement.h',
    58255834            'svg/SVGGlyphMap.h',
    58265835            'svg/SVGGradientElement.cpp',
  • trunk/Source/WebCore/WebCore.pro

    r91250 r91331  
    23322332    svg/properties/SVGTransformListPropertyTearOff.h \
    23332333    svg/SVGAElement.h \
     2334    svg/SVGAltGlyphDefElement.h \
    23342335    svg/SVGAltGlyphElement.h \
     2336    svg/SVGAltGlyphItemElement.h \
    23352337    svg/SVGAngle.h \
    23362338    svg/SVGAnimateColorElement.h \
     
    24122414    svg/SVGGElement.h \
    24132415    svg/SVGGlyphElement.h \
     2416    svg/SVGGlyphRefElement.h \
    24142417    svg/SVGGradientElement.h \
    24152418    svg/SVGHKernElement.h \
     
    33393342              svg/ColorDistance.cpp \
    33403343              svg/SVGAElement.cpp \
     3344              svg/SVGAltGlyphDefElement.cpp \
    33413345              svg/SVGAltGlyphElement.cpp \
     3346              svg/SVGAltGlyphItemElement.cpp \
    33423347              svg/SVGAngle.cpp \
    33433348              svg/SVGAnimateColorElement.cpp \
     
    34133418              svg/SVGGElement.cpp \
    34143419              svg/SVGGlyphElement.cpp \
     3420              svg/SVGGlyphRefElement.cpp \
    34153421              svg/SVGGradientElement.cpp \
    34163422              svg/SVGHKernElement.cpp \
  • trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj

    r91250 r91331  
    1404714047                        </File>
    1404814048                        <File
     14049                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphDefElement.cpp"
     14050                                >
     14051                                <FileConfiguration
     14052                                        Name="Debug|Win32"
     14053                                        ExcludedFromBuild="true"
     14054                                        >
     14055                                        <Tool
     14056                                                Name="VCCLCompilerTool"
     14057                                        />
     14058                                </FileConfiguration>
     14059                                <FileConfiguration
     14060                                        Name="Release|Win32"
     14061                                        ExcludedFromBuild="true"
     14062                                        >
     14063                                        <Tool
     14064                                                Name="VCCLCompilerTool"
     14065                                        />
     14066                                </FileConfiguration>
     14067                                <FileConfiguration
     14068                                        Name="Debug_Cairo_CFLite|Win32"
     14069                                        ExcludedFromBuild="true"
     14070                                        >
     14071                                        <Tool
     14072                                                Name="VCCLCompilerTool"
     14073                                        />
     14074                                </FileConfiguration>
     14075                                <FileConfiguration
     14076                                        Name="Release_Cairo_CFLite|Win32"
     14077                                        ExcludedFromBuild="true"
     14078                                        >
     14079                                        <Tool
     14080                                                Name="VCCLCompilerTool"
     14081                                        />
     14082                                </FileConfiguration>
     14083                                <FileConfiguration
     14084                                        Name="Debug_All|Win32"
     14085                                        ExcludedFromBuild="true"
     14086                                        >
     14087                                        <Tool
     14088                                                Name="VCCLCompilerTool"
     14089                                        />
     14090                                </FileConfiguration>
     14091                                <FileConfiguration
     14092                                        Name="Production|Win32"
     14093                                        ExcludedFromBuild="true"
     14094                                        >
     14095                                        <Tool
     14096                                                Name="VCCLCompilerTool"
     14097                                        />
     14098                                </FileConfiguration>
     14099                        </File>
     14100                        <File
     14101                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphDefElement.h"
     14102                                >
     14103                        </File>
     14104                        <File
    1404914105                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphElement.cpp"
    1405014106                                >
     
    1410314159                        </File>
    1410414160                        <File
     14161                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphItemElement.cpp"
     14162                                >
     14163                                <FileConfiguration
     14164                                        Name="Debug|Win32"
     14165                                        ExcludedFromBuild="true"
     14166                                        >
     14167                                        <Tool
     14168                                                Name="VCCLCompilerTool"
     14169                                        />
     14170                                </FileConfiguration>
     14171                                <FileConfiguration
     14172                                        Name="Release|Win32"
     14173                                        ExcludedFromBuild="true"
     14174                                        >
     14175                                        <Tool
     14176                                                Name="VCCLCompilerTool"
     14177                                        />
     14178                                </FileConfiguration>
     14179                                <FileConfiguration
     14180                                        Name="Debug_Cairo_CFLite|Win32"
     14181                                        ExcludedFromBuild="true"
     14182                                        >
     14183                                        <Tool
     14184                                                Name="VCCLCompilerTool"
     14185                                        />
     14186                                </FileConfiguration>
     14187                                <FileConfiguration
     14188                                        Name="Release_Cairo_CFLite|Win32"
     14189                                        ExcludedFromBuild="true"
     14190                                        >
     14191                                        <Tool
     14192                                                Name="VCCLCompilerTool"
     14193                                        />
     14194                                </FileConfiguration>
     14195                                <FileConfiguration
     14196                                        Name="Debug_All|Win32"
     14197                                        ExcludedFromBuild="true"
     14198                                        >
     14199                                        <Tool
     14200                                                Name="VCCLCompilerTool"
     14201                                        />
     14202                                </FileConfiguration>
     14203                                <FileConfiguration
     14204                                        Name="Production|Win32"
     14205                                        ExcludedFromBuild="true"
     14206                                        >
     14207                                        <Tool
     14208                                                Name="VCCLCompilerTool"
     14209                                        />
     14210                                </FileConfiguration>
     14211                        </File>
     14212                        <File
     14213                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphItemElement.h"
     14214                                >
     14215                        </File>
     14216                        <File
    1410514217                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGAngle.cpp"
    1410614218                                >
     
    1775617868                        <File
    1775717869                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGGlyphElement.h"
     17870                                >
     17871                        </File>
     17872                        <File
     17873                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGGlyphRefElement.cpp"
     17874                                >
     17875                                <FileConfiguration
     17876                                        Name="Debug|Win32"
     17877                                        ExcludedFromBuild="true"
     17878                                        >
     17879                                        <Tool
     17880                                                Name="VCCLCompilerTool"
     17881                                        />
     17882                                </FileConfiguration>
     17883                                <FileConfiguration
     17884                                        Name="Release|Win32"
     17885                                        ExcludedFromBuild="true"
     17886                                        >
     17887                                        <Tool
     17888                                                Name="VCCLCompilerTool"
     17889                                        />
     17890                                </FileConfiguration>
     17891                                <FileConfiguration
     17892                                        Name="Debug_Cairo_CFLite|Win32"
     17893                                        ExcludedFromBuild="true"
     17894                                        >
     17895                                        <Tool
     17896                                                Name="VCCLCompilerTool"
     17897                                        />
     17898                                </FileConfiguration>
     17899                                <FileConfiguration
     17900                                        Name="Release_Cairo_CFLite|Win32"
     17901                                        ExcludedFromBuild="true"
     17902                                        >
     17903                                        <Tool
     17904                                                Name="VCCLCompilerTool"
     17905                                        />
     17906                                </FileConfiguration>
     17907                                <FileConfiguration
     17908                                        Name="Debug_All|Win32"
     17909                                        ExcludedFromBuild="true"
     17910                                        >
     17911                                        <Tool
     17912                                                Name="VCCLCompilerTool"
     17913                                        />
     17914                                </FileConfiguration>
     17915                                <FileConfiguration
     17916                                        Name="Production|Win32"
     17917                                        ExcludedFromBuild="true"
     17918                                        >
     17919                                        <Tool
     17920                                                Name="VCCLCompilerTool"
     17921                                        />
     17922                                </FileConfiguration>
     17923                        </File>
     17924                        <File
     17925                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGGlyphRefElement.h"
    1775817926                                >
    1775917927                        </File>
     
    6561565783                        </File>
    6561665784                        <File
     65785                                RelativePath="..\svg\SVGAltGlyphDefElement.h"
     65786                                >
     65787                        </File>
     65788                        <File
    6561765789                                RelativePath="..\svg\SVGAltGlyphElement.h"
    6561865790                                >
    6561965791                        </File>
    6562065792                        <File
     65793                                RelativePath="..\svg\SVGAltGlyphItemElement.h"
     65794                                >
     65795                        </File>
     65796                        <File
    6562165797                                RelativePath="..\svg\SVGAngle.h"
    6562265798                                >
     
    6603666212                        <File
    6603766213                                RelativePath="..\svg\SVGGlyphElement.h"
     66214                                >
     66215                        </File>
     66216                        <File
     66217                                RelativePath="..\svg\SVGGlyphRefElement.cpp"
     66218                                >
     66219                                <FileConfiguration
     66220                                        Name="Debug|Win32"
     66221                                        ExcludedFromBuild="true"
     66222                                        >
     66223                                        <Tool
     66224                                                Name="VCCLCompilerTool"
     66225                                        />
     66226                                </FileConfiguration>
     66227                                <FileConfiguration
     66228                                        Name="Release|Win32"
     66229                                        ExcludedFromBuild="true"
     66230                                        >
     66231                                        <Tool
     66232                                                Name="VCCLCompilerTool"
     66233                                        />
     66234                                </FileConfiguration>
     66235                                <FileConfiguration
     66236                                        Name="Debug_Cairo_CFLite|Win32"
     66237                                        ExcludedFromBuild="true"
     66238                                        >
     66239                                        <Tool
     66240                                                Name="VCCLCompilerTool"
     66241                                        />
     66242                                </FileConfiguration>
     66243                                <FileConfiguration
     66244                                        Name="Release_Cairo_CFLite|Win32"
     66245                                        ExcludedFromBuild="true"
     66246                                        >
     66247                                        <Tool
     66248                                                Name="VCCLCompilerTool"
     66249                                        />
     66250                                </FileConfiguration>
     66251                                <FileConfiguration
     66252                                        Name="Debug_All|Win32"
     66253                                        ExcludedFromBuild="true"
     66254                                        >
     66255                                        <Tool
     66256                                                Name="VCCLCompilerTool"
     66257                                        />
     66258                                </FileConfiguration>
     66259                                <FileConfiguration
     66260                                        Name="Production|Win32"
     66261                                        ExcludedFromBuild="true"
     66262                                        >
     66263                                        <Tool
     66264                                                Name="VCCLCompilerTool"
     66265                                        />
     66266                                </FileConfiguration>
     66267                        </File>
     66268                        <File
     66269                                RelativePath="..\svg\SVGGlyphRefElement.h"
    6603866270                                >
    6603966271                        </File>
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r91281 r91331  
    616616                22BD9F81135364FE009BD102 /* ImageBufferDataCG.h in Headers */ = {isa = PBXBuildFile; fileRef = 22BD9F80135364FE009BD102 /* ImageBufferDataCG.h */; };
    617617                245D80A313280E40003492A6 /* SQLCallbackWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 245D80A213280E40003492A6 /* SQLCallbackWrapper.h */; };
     618                24AA568D13CC94CE00E902F6 /* DOMSVGAltGlyphItemElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 24D912A313CA977D00D21915 /* DOMSVGAltGlyphItemElementInternal.h */; };
     619                24AA568E13CC950900E902F6 /* DOMSVGAltGlyphItemElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 24D912A113CA977D00D21915 /* DOMSVGAltGlyphItemElement.h */; };
     620                24AA569013CC952F00E902F6 /* DOMSVGAltGlyphDefElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 24D9129B13CA975A00D21915 /* DOMSVGAltGlyphDefElement.h */; };
     621                24AA569213CC954E00E902F6 /* DOMSVGAltGlyphDefElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 24D9129D13CA975A00D21915 /* DOMSVGAltGlyphDefElementInternal.h */; };
     622                24AA569713CC95A800E902F6 /* DOMSVGGlyphRefElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 24D912A713CA97CF00D21915 /* DOMSVGGlyphRefElement.h */; };
     623                24AA569913CC95CC00E902F6 /* DOMSVGGlyphRefElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 24D912A913CA97CF00D21915 /* DOMSVGGlyphRefElementInternal.h */; };
     624                24D9129113CA951E00D21915 /* JSSVGAltGlyphDefElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24D9128F13CA951E00D21915 /* JSSVGAltGlyphDefElement.cpp */; };
     625                24D9129213CA951E00D21915 /* JSSVGAltGlyphDefElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D9129013CA951E00D21915 /* JSSVGAltGlyphDefElement.h */; };
     626                24D9129513CA956100D21915 /* JSSVGAltGlyphItemElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24D9129313CA956100D21915 /* JSSVGAltGlyphItemElement.cpp */; };
     627                24D9129613CA956100D21915 /* JSSVGAltGlyphItemElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D9129413CA956100D21915 /* JSSVGAltGlyphItemElement.h */; };
     628                24D9129813CA96DE00D21915 /* JSSVGGlyphRefElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24D9129713CA96DE00D21915 /* JSSVGGlyphRefElement.cpp */; };
     629                24D9129A13CA971400D21915 /* JSSVGGlyphRefElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D9129913CA971400D21915 /* JSSVGGlyphRefElement.h */; };
     630                24D9129E13CA975A00D21915 /* DOMSVGAltGlyphDefElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D9129B13CA975A00D21915 /* DOMSVGAltGlyphDefElement.h */; };
     631                24D9129F13CA975A00D21915 /* DOMSVGAltGlyphDefElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 24D9129C13CA975A00D21915 /* DOMSVGAltGlyphDefElement.mm */; };
     632                24D912A013CA975A00D21915 /* DOMSVGAltGlyphDefElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D9129D13CA975A00D21915 /* DOMSVGAltGlyphDefElementInternal.h */; };
     633                24D912A413CA977D00D21915 /* DOMSVGAltGlyphItemElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912A113CA977D00D21915 /* DOMSVGAltGlyphItemElement.h */; };
     634                24D912A513CA977D00D21915 /* DOMSVGAltGlyphItemElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 24D912A213CA977D00D21915 /* DOMSVGAltGlyphItemElement.mm */; };
     635                24D912A613CA977D00D21915 /* DOMSVGAltGlyphItemElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912A313CA977D00D21915 /* DOMSVGAltGlyphItemElementInternal.h */; };
     636                24D912AA13CA97CF00D21915 /* DOMSVGGlyphRefElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912A713CA97CF00D21915 /* DOMSVGGlyphRefElement.h */; };
     637                24D912AB13CA97CF00D21915 /* DOMSVGGlyphRefElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 24D912A813CA97CF00D21915 /* DOMSVGGlyphRefElement.mm */; };
     638                24D912AC13CA97CF00D21915 /* DOMSVGGlyphRefElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912A913CA97CF00D21915 /* DOMSVGGlyphRefElementInternal.h */; };
     639                24D912B013CA9A1F00D21915 /* SVGAltGlyphDefElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24D912AD13CA9A1F00D21915 /* SVGAltGlyphDefElement.cpp */; };
     640                24D912B113CA9A1F00D21915 /* SVGAltGlyphDefElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912AE13CA9A1F00D21915 /* SVGAltGlyphDefElement.h */; };
     641                24D912B713CA9A6900D21915 /* SVGAltGlyphItemElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24D912B413CA9A6900D21915 /* SVGAltGlyphItemElement.cpp */; };
     642                24D912B813CA9A6900D21915 /* SVGAltGlyphItemElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912B513CA9A6900D21915 /* SVGAltGlyphItemElement.h */; };
     643                24D912BD13CA9A9700D21915 /* SVGGlyphRefElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24D912BA13CA9A9700D21915 /* SVGGlyphRefElement.cpp */; };
     644                24D912BE13CA9A9700D21915 /* SVGGlyphRefElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 24D912BB13CA9A9700D21915 /* SVGGlyphRefElement.h */; };
    618645                24F54EAC101FE914000AE741 /* ApplicationCacheHost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 24F54EAA101FE914000AE741 /* ApplicationCacheHost.cpp */; };
    619646                24F54EAD101FE914000AE741 /* ApplicationCacheHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 24F54EAB101FE914000AE741 /* ApplicationCacheHost.h */; settings = {ATTRIBUTES = (); }; };
     
    61366163                                A8F46AE40CB20A9D003A9670 /* DOMSVGAElement.h in Copy Generated Headers */,
    61376164                                A80F3B620CCDCE24002DD990 /* DOMSVGAElementInternal.h in Copy Generated Headers */,
     6165                                24AA569013CC952F00E902F6 /* DOMSVGAltGlyphDefElement.h in Copy Generated Headers */,
     6166                                24AA569213CC954E00E902F6 /* DOMSVGAltGlyphDefElementInternal.h in Copy Generated Headers */,
    61386167                                E17A4A1B0D97991D00FC10C6 /* DOMSVGAltGlyphElement.h in Copy Generated Headers */,
    61396168                                E17A4A1C0D97991D00FC10C6 /* DOMSVGAltGlyphElementInternal.h in Copy Generated Headers */,
     6169                                24AA568E13CC950900E902F6 /* DOMSVGAltGlyphItemElement.h in Copy Generated Headers */,
     6170                                24AA568D13CC94CE00E902F6 /* DOMSVGAltGlyphItemElementInternal.h in Copy Generated Headers */,
    61406171                                A80F3B3B0CCDCE24002DD990 /* DOMSVGAngle.h in Copy Generated Headers */,
    61416172                                A80F3B860CCDCE24002DD990 /* DOMSVGAngleInternal.h in Copy Generated Headers */,
     
    62636294                                A80F3B630CCDCE24002DD990 /* DOMSVGGElementInternal.h in Copy Generated Headers */,
    62646295                                B27B285D0CEF0D7200D39D54 /* DOMSVGGlyphElement.h in Copy Generated Headers */,
     6296                                24AA569713CC95A800E902F6 /* DOMSVGGlyphRefElement.h in Copy Generated Headers */,
     6297                                24AA569913CC95CC00E902F6 /* DOMSVGGlyphRefElementInternal.h in Copy Generated Headers */,
    62656298                                A8F46A880CB20A9D003A9670 /* DOMSVGGradientElement.h in Copy Generated Headers */,
    62666299                                A80F3B780CCDCE24002DD990 /* DOMSVGGradientElementInternal.h in Copy Generated Headers */,
     
    70507083                2442BBF81194C9D300D49469 /* HashChangeEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HashChangeEvent.h; sourceTree = "<group>"; };
    70517084                245D80A213280E40003492A6 /* SQLCallbackWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLCallbackWrapper.h; sourceTree = "<group>"; };
     7085                24D9128F13CA951E00D21915 /* JSSVGAltGlyphDefElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGAltGlyphDefElement.cpp; sourceTree = "<group>"; };
     7086                24D9129013CA951E00D21915 /* JSSVGAltGlyphDefElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGAltGlyphDefElement.h; sourceTree = "<group>"; };
     7087                24D9129313CA956100D21915 /* JSSVGAltGlyphItemElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGAltGlyphItemElement.cpp; sourceTree = "<group>"; };
     7088                24D9129413CA956100D21915 /* JSSVGAltGlyphItemElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGAltGlyphItemElement.h; sourceTree = "<group>"; };
     7089                24D9129713CA96DE00D21915 /* JSSVGGlyphRefElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGGlyphRefElement.cpp; sourceTree = "<group>"; };
     7090                24D9129913CA971400D21915 /* JSSVGGlyphRefElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGGlyphRefElement.h; sourceTree = "<group>"; };
     7091                24D9129B13CA975A00D21915 /* DOMSVGAltGlyphDefElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGAltGlyphDefElement.h; sourceTree = "<group>"; };
     7092                24D9129C13CA975A00D21915 /* DOMSVGAltGlyphDefElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGAltGlyphDefElement.mm; sourceTree = "<group>"; };
     7093                24D9129D13CA975A00D21915 /* DOMSVGAltGlyphDefElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGAltGlyphDefElementInternal.h; sourceTree = "<group>"; };
     7094                24D912A113CA977D00D21915 /* DOMSVGAltGlyphItemElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGAltGlyphItemElement.h; sourceTree = "<group>"; };
     7095                24D912A213CA977D00D21915 /* DOMSVGAltGlyphItemElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGAltGlyphItemElement.mm; sourceTree = "<group>"; };
     7096                24D912A313CA977D00D21915 /* DOMSVGAltGlyphItemElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGAltGlyphItemElementInternal.h; sourceTree = "<group>"; };
     7097                24D912A713CA97CF00D21915 /* DOMSVGGlyphRefElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGGlyphRefElement.h; sourceTree = "<group>"; };
     7098                24D912A813CA97CF00D21915 /* DOMSVGGlyphRefElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGGlyphRefElement.mm; sourceTree = "<group>"; };
     7099                24D912A913CA97CF00D21915 /* DOMSVGGlyphRefElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGGlyphRefElementInternal.h; sourceTree = "<group>"; };
     7100                24D912AD13CA9A1F00D21915 /* SVGAltGlyphDefElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAltGlyphDefElement.cpp; sourceTree = "<group>"; };
     7101                24D912AE13CA9A1F00D21915 /* SVGAltGlyphDefElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAltGlyphDefElement.h; sourceTree = "<group>"; };
     7102                24D912AF13CA9A1F00D21915 /* SVGAltGlyphDefElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SVGAltGlyphDefElement.idl; sourceTree = "<group>"; };
     7103                24D912B413CA9A6900D21915 /* SVGAltGlyphItemElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAltGlyphItemElement.cpp; sourceTree = "<group>"; };
     7104                24D912B513CA9A6900D21915 /* SVGAltGlyphItemElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAltGlyphItemElement.h; sourceTree = "<group>"; };
     7105                24D912B613CA9A6900D21915 /* SVGAltGlyphItemElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SVGAltGlyphItemElement.idl; sourceTree = "<group>"; };
     7106                24D912BA13CA9A9700D21915 /* SVGGlyphRefElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGGlyphRefElement.cpp; sourceTree = "<group>"; };
     7107                24D912BB13CA9A9700D21915 /* SVGGlyphRefElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGGlyphRefElement.h; sourceTree = "<group>"; };
     7108                24D912BC13CA9A9700D21915 /* SVGGlyphRefElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SVGGlyphRefElement.idl; sourceTree = "<group>"; };
    70527109                24F54EAA101FE914000AE741 /* ApplicationCacheHost.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ApplicationCacheHost.cpp; sourceTree = "<group>"; };
    70537110                24F54EAB101FE914000AE741 /* ApplicationCacheHost.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ApplicationCacheHost.h; sourceTree = "<group>"; };
     
    1477414831                                85ACEF750ACDCFCE001214FF /* DOMSVGAElement.mm */,
    1477514832                                A8E544150CA9D1C10097D09B /* DOMSVGAElementInternal.h */,
     14833                                24D9129B13CA975A00D21915 /* DOMSVGAltGlyphDefElement.h */,
     14834                                24D9129C13CA975A00D21915 /* DOMSVGAltGlyphDefElement.mm */,
     14835                                24D9129D13CA975A00D21915 /* DOMSVGAltGlyphDefElementInternal.h */,
    1477614836                                65AA6BAC0D974A00000541AE /* DOMSVGAltGlyphElement.h */,
    1477714837                                65AA6BAD0D974A00000541AE /* DOMSVGAltGlyphElement.mm */,
    1477814838                                65AA6BAE0D974A00000541AE /* DOMSVGAltGlyphElementInternal.h */,
     14839                                24D912A113CA977D00D21915 /* DOMSVGAltGlyphItemElement.h */,
     14840                                24D912A213CA977D00D21915 /* DOMSVGAltGlyphItemElement.mm */,
     14841                                24D912A313CA977D00D21915 /* DOMSVGAltGlyphItemElementInternal.h */,
    1477914842                                854163690AC7180B0001E01B /* DOMSVGAngle.h */,
    1478014843                                854163680AC7180B0001E01B /* DOMSVGAngle.mm */,
     
    1498015043                                B27B28310CEF0C3500D39D54 /* DOMSVGGlyphElement.mm */,
    1498115044                                B27B28320CEF0C3500D39D54 /* DOMSVGGlyphElementInternal.h */,
     15045                                24D912A713CA97CF00D21915 /* DOMSVGGlyphRefElement.h */,
     15046                                24D912A813CA97CF00D21915 /* DOMSVGGlyphRefElement.mm */,
     15047                                24D912A913CA97CF00D21915 /* DOMSVGGlyphRefElementInternal.h */,
    1498215048                                85C9A2EC0AD7E90300FBFF1E /* DOMSVGGradientElement.h */,
    1498315049                                85C9A2ED0AD7E90300FBFF1E /* DOMSVGGradientElement.mm */,
     
    1677016836                                B20111050AB7740500DB0E68 /* JSSVGAElement.cpp */,
    1677116837                                B20111060AB7740500DB0E68 /* JSSVGAElement.h */,
     16838                                24D9128F13CA951E00D21915 /* JSSVGAltGlyphDefElement.cpp */,
     16839                                24D9129013CA951E00D21915 /* JSSVGAltGlyphDefElement.h */,
    1677216840                                6515EC8F0D9723FF0063D49A /* JSSVGAltGlyphElement.cpp */,
    1677316841                                6515EC900D9723FF0063D49A /* JSSVGAltGlyphElement.h */,
     16842                                24D9129313CA956100D21915 /* JSSVGAltGlyphItemElement.cpp */,
     16843                                24D9129413CA956100D21915 /* JSSVGAltGlyphItemElement.h */,
    1677416844                                B222F6960AB771950022EFAD /* JSSVGAngle.cpp */,
    1677516845                                B222F6970AB771950022EFAD /* JSSVGAngle.h */,
     
    1690416974                                B27B28210CEF0C0700D39D54 /* JSSVGGlyphElement.cpp */,
    1690516975                                B27B28220CEF0C0700D39D54 /* JSSVGGlyphElement.h */,
     16976                                24D9129713CA96DE00D21915 /* JSSVGGlyphRefElement.cpp */,
     16977                                24D9129913CA971400D21915 /* JSSVGGlyphRefElement.h */,
    1690616978                                B2FA3CB40AB75A6E000E5AC4 /* JSSVGGradientElement.cpp */,
    1690716979                                B2FA3CB50AB75A6E000E5AC4 /* JSSVGGradientElement.h */,
     
    1742817500                                B22277DE0D00BF1F0071B782 /* SVGAElement.h */,
    1742917501                                B22277DF0D00BF1F0071B782 /* SVGAElement.idl */,
     17502                                24D912AD13CA9A1F00D21915 /* SVGAltGlyphDefElement.cpp */,
     17503                                24D912AE13CA9A1F00D21915 /* SVGAltGlyphDefElement.h */,
     17504                                24D912AF13CA9A1F00D21915 /* SVGAltGlyphDefElement.idl */,
    1743017505                                65653F2A0D9727D200CA9723 /* SVGAltGlyphElement.cpp */,
    1743117506                                65653F2B0D9727D200CA9723 /* SVGAltGlyphElement.h */,
    1743217507                                65653F2C0D9727D200CA9723 /* SVGAltGlyphElement.idl */,
     17508                                24D912B413CA9A6900D21915 /* SVGAltGlyphItemElement.cpp */,
     17509                                24D912B513CA9A6900D21915 /* SVGAltGlyphItemElement.h */,
     17510                                24D912B613CA9A6900D21915 /* SVGAltGlyphItemElement.idl */,
    1743317511                                B22277E00D00BF1F0071B782 /* SVGAngle.cpp */,
    1743417512                                B22277E10D00BF1F0071B782 /* SVGAngle.h */,
     
    1765517733                                B2A1F2A50CEF0ABF00442F6A /* SVGGlyphElement.h */,
    1765617734                                B2A1F2A60CEF0ABF00442F6A /* SVGGlyphElement.idl */,
     17735                                24D912BA13CA9A9700D21915 /* SVGGlyphRefElement.cpp */,
     17736                                24D912BB13CA9A9700D21915 /* SVGGlyphRefElement.h */,
     17737                                24D912BC13CA9A9700D21915 /* SVGGlyphRefElement.idl */,
    1765717738                                3744570E0DB05FA500AE0992 /* SVGGlyphMap.h */,
    1765817739                                B22278930D00BF200071B782 /* SVGGradientElement.cpp */,
     
    2080820889                                85ACEF7C0ACDCFCE001214FF /* DOMSVGAElement.h in Headers */,
    2080920890                                85ACEF890ACDD04A001214FF /* DOMSVGAElementInternal.h in Headers */,
     20891                                24D9129E13CA975A00D21915 /* DOMSVGAltGlyphDefElement.h in Headers */,
     20892                                24D912A013CA975A00D21915 /* DOMSVGAltGlyphDefElementInternal.h in Headers */,
    2081020893                                65AA6BAF0D974A00000541AE /* DOMSVGAltGlyphElement.h in Headers */,
    2081120894                                65AA6BB10D974A00000541AE /* DOMSVGAltGlyphElementInternal.h in Headers */,
     20895                                24D912A413CA977D00D21915 /* DOMSVGAltGlyphItemElement.h in Headers */,
     20896                                24D912A613CA977D00D21915 /* DOMSVGAltGlyphItemElementInternal.h in Headers */,
    2081220897                                854163790AC7180B0001E01B /* DOMSVGAngle.h in Headers */,
    2081320898                                8541639E0AC718680001E01B /* DOMSVGAngleInternal.h in Headers */,
     
    2094221027                                B27B283B0CEF0C3600D39D54 /* DOMSVGGlyphElement.h in Headers */,
    2094321028                                B27B283D0CEF0C3600D39D54 /* DOMSVGGlyphElementInternal.h in Headers */,
     21029                                24D912AA13CA97CF00D21915 /* DOMSVGGlyphRefElement.h in Headers */,
     21030                                24D912AC13CA97CF00D21915 /* DOMSVGGlyphRefElementInternal.h in Headers */,
    2094421031                                85C9A2F70AD7E90300FBFF1E /* DOMSVGGradientElement.h in Headers */,
    2094521032                                85C9A31C0AD7E9A400FBFF1E /* DOMSVGGradientElementInternal.h in Headers */,
     
    2189621983                                A84EBD830CB8C97700079609 /* JSStyleSheetList.h in Headers */,
    2189721984                                B20111080AB7740500DB0E68 /* JSSVGAElement.h in Headers */,
     21985                                24D9129213CA951E00D21915 /* JSSVGAltGlyphDefElement.h in Headers */,
    2189821986                                6515EC920D9723FF0063D49A /* JSSVGAltGlyphElement.h in Headers */,
     21987                                24D9129613CA956100D21915 /* JSSVGAltGlyphItemElement.h in Headers */,
    2189921988                                B222F6990AB771950022EFAD /* JSSVGAngle.h in Headers */,
    2190021989                                B2FA3D370AB75A6F000E5AC4 /* JSSVGAnimateColorElement.h in Headers */,
     
    2196422053                                B2FA3D9B0AB75A6F000E5AC4 /* JSSVGGElement.h in Headers */,
    2196522054                                B27B28280CEF0C0700D39D54 /* JSSVGGlyphElement.h in Headers */,
     22055                                24D9129A13CA971400D21915 /* JSSVGGlyphRefElement.h in Headers */,
    2196622056                                B2FA3D9D0AB75A6F000E5AC4 /* JSSVGGradientElement.h in Headers */,
    2196722057                                8485227C1190162C006EDC7F /* JSSVGHKernElement.h in Headers */,
     
    2268722777                                62C1217D11AB9E77003C462C /* SuspendableTimer.h in Headers */,
    2268822778                                B22279740D00BF220071B782 /* SVGAElement.h in Headers */,
     22779                                24D912B113CA9A1F00D21915 /* SVGAltGlyphDefElement.h in Headers */,
    2268922780                                65653F2E0D9727D200CA9723 /* SVGAltGlyphElement.h in Headers */,
     22781                                24D912B813CA9A6900D21915 /* SVGAltGlyphItemElement.h in Headers */,
    2269022782                                B22279770D00BF220071B782 /* SVGAngle.h in Headers */,
    2269122783                                B222797A0D00BF220071B782 /* SVGAnimateColorElement.h in Headers */,
     
    2278422876                                087E0AF713606D0B00FA4BA8 /* SVGGlyph.h in Headers */,
    2278522877                                B2A1F2AE0CEF0ABF00442F6A /* SVGGlyphElement.h in Headers */,
     22878                                24D912BE13CA9A9700D21915 /* SVGGlyphRefElement.h in Headers */,
    2278622879                                3744570F0DB05FA500AE0992 /* SVGGlyphMap.h in Headers */,
    2278722880                                B2227A2A0D00BF220071B782 /* SVGGradientElement.h in Headers */,
     
    2592226015                                FD8E9BDF13D4CD2B0050DC72 /* JSWaveShaperNodeCustom.cpp in Sources */,
    2592326016                                5913A24113D49EBA00F5B05C /* IdentifiersFactory.cpp in Sources */,
     26017                                24D9129113CA951E00D21915 /* JSSVGAltGlyphDefElement.cpp in Sources */,
     26018                                24D9129513CA956100D21915 /* JSSVGAltGlyphItemElement.cpp in Sources */,
     26019                                24D9129813CA96DE00D21915 /* JSSVGGlyphRefElement.cpp in Sources */,
     26020                                24D9129F13CA975A00D21915 /* DOMSVGAltGlyphDefElement.mm in Sources */,
     26021                                24D912A513CA977D00D21915 /* DOMSVGAltGlyphItemElement.mm in Sources */,
     26022                                24D912AB13CA97CF00D21915 /* DOMSVGGlyphRefElement.mm in Sources */,
     26023                                24D912B013CA9A1F00D21915 /* SVGAltGlyphDefElement.cpp in Sources */,
     26024                                24D912B713CA9A6900D21915 /* SVGAltGlyphItemElement.cpp in Sources */,
     26025                                24D912BD13CA9A9700D21915 /* SVGGlyphRefElement.cpp in Sources */,
    2592426026                        );
    2592526027                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/Source/WebCore/bindings/objc/DOM.mm

    r86147 r91331  
    148148#if ENABLE(SVG_DOM_OBJC_BINDINGS)
    149149    addElementClass(SVGNames::aTag, [DOMSVGAElement class]);
     150    addElementClass(SVGNames::altGlyphDefTag, [DOMSVGAltGlyphDefElement class]);
    150151    addElementClass(SVGNames::altGlyphTag, [DOMSVGAltGlyphElement class]);
     152    addElementClass(SVGNames::altGlyphItemTag, [DOMSVGAltGlyphItemElement class]);
    151153#if ENABLE(SVG_ANIMATION)
    152154    addElementClass(SVGNames::animateTag, [DOMSVGAnimateElement class]);
     
    197199    addElementClass(SVGNames::font_face_uriTag, [DOMSVGFontFaceUriElement class]);
    198200    addElementClass(SVGNames::glyphTag, [DOMSVGGlyphElement class]);
     201    addElementClass(SVGNames::glyphRefTag, [DOMSVGGlyphRefElement class]);
    199202#endif
    200203    addElementClass(SVGNames::gTag, [DOMSVGGElement class]);
  • trunk/Source/WebCore/bindings/objc/DOMSVG.h

    r84522 r91331  
    2626
    2727#import <WebCore/DOMSVGAElement.h>
     28#import <WebCore/DOMSVGAltGlyphDefElement.h>
    2829#import <WebCore/DOMSVGAltGlyphElement.h>
     30#import <WebCore/DOMSVGAltGlyphItemElement.h>
    2931#import <WebCore/DOMSVGAngle.h>
    3032#import <WebCore/DOMSVGAnimateColorElement.h>
     
    9597#import <WebCore/DOMSVGGElement.h>
    9698#import <WebCore/DOMSVGGlyphElement.h>
     99#import <WebCore/DOMSVGGlyphRefElement.h>
    97100#import <WebCore/DOMSVGGradientElement.h>
    98101#import <WebCore/DOMSVGImageElement.h>
  • trunk/Source/WebCore/page/DOMWindow.idl

    r89781 r91331  
    725725
    726726#if defined(ENABLE_SVG_FONTS) && ENABLE_SVG_FONTS
    727 //      attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement;
     727        attribute SVGAltGlyphDefElementConstructor SVGAltGlyphDefElement;
    728728        attribute SVGAltGlyphElementConstructor SVGAltGlyphElement;
    729 //      attribute SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement;
     729        attribute SVGAltGlyphItemElementConstructor SVGAltGlyphItemElement;
    730730//      attribute SVGDefinitionSrcElementConstructor SVGDefinitionSrcElement;
    731731        attribute SVGFontElementConstructor SVGFontElement;
     
    736736        attribute SVGFontFaceUriElementConstructor SVGFontFaceUriElement;
    737737        attribute SVGGlyphElementConstructor SVGGlyphElement;
    738 //      attribute SVGGlyphRefElementConstructor SVGGlyphRefElement;
     738        attribute SVGGlyphRefElementConstructor SVGGlyphRefElement;
    739739        attribute SVGHKernElementConstructor SVGHKernElement;
    740740        attribute SVGMissingGlyphElementConstructor SVGMissingGlyphElement;
  • trunk/Source/WebCore/svg/SVGAllInOne.cpp

    r90218 r91331  
    2828#include "ColorDistance.cpp"
    2929#include "SVGAElement.cpp"
     30#include "SVGAltGlyphDefElement.cpp"
    3031#include "SVGAltGlyphElement.cpp"
     32#include "SVGAltGlyphItemElement.cpp"
    3133#include "SVGAngle.cpp"
    3234#include "SVGAnimateColorElement.cpp"
     
    103105#include "SVGGElement.cpp"
    104106#include "SVGGlyphElement.cpp"
     107#include "SVGGlyphRefElement.cpp"
    105108#include "SVGGradientElement.cpp"
    106109#include "SVGHKernElement.cpp"
  • trunk/Source/WebCore/svg/SVGAltGlyphElement.cpp

    r90680 r91331  
    33 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
    44 * Copyright (C) 2008 Apple Inc. All rights reserved.
     5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
    56 *
    67 * This library is free software; you can redistribute it and/or
     
    2829#include "RenderInline.h"
    2930#include "RenderSVGTSpan.h"
     31#include "SVGAltGlyphDefElement.h"
    3032#include "SVGGlyphElement.h"
    3133#include "SVGNames.h"
     
    8688}
    8789
    88 bool SVGAltGlyphElement::hasValidGlyphElement(String& glyphName) const
     90bool SVGAltGlyphElement::hasValidGlyphElements(Vector<String>& glyphNames) const
    8991{
    90     // FIXME: No support for altGlyphDef/glyphRef.
    91     // This is tracked by https://bugs.webkit.org/show_bug.cgi?id=60850.
    92     glyphName = getTarget(fastGetAttribute(XLinkNames::hrefAttr));
    93     Element* element = treeScope()->getElementById(glyphName);
    94     if (!element || !element->hasTagName(SVGNames::glyphTag))
     92    String target = getTarget(fastGetAttribute(XLinkNames::hrefAttr));
     93    Element* element = treeScope()->getElementById(target);
     94    if (!element)
    9595        return false;
    96     return true;
     96
     97    if (element->hasTagName(SVGNames::glyphTag)) {
     98        glyphNames.append(target);
     99        return true;
     100    }
     101
     102    if (element->hasTagName(SVGNames::altGlyphDefTag)
     103        && static_cast<SVGAltGlyphDefElement*>(element)->hasValidGlyphElements(glyphNames))
     104        return true;
     105
     106    return false;
    97107}
    98108
  • trunk/Source/WebCore/svg/SVGAltGlyphElement.h

    r90680 r91331  
    2626#include "SVGTextPositioningElement.h"
    2727#include "SVGURIReference.h"
     28#include <wtf/Vector.h>
    2829
    2930namespace WebCore {
     
    4142    void setFormat(const AtomicString&, ExceptionCode&);
    4243
    43     bool hasValidGlyphElement(String& glyphName) const;
     44    bool hasValidGlyphElements(Vector<String>& glyphNames) const;
    4445
    4546private:
  • trunk/Source/WebCore/svg/SVGFontData.cpp

    r89732 r91331  
    143143    String language;
    144144    bool isVerticalText = false;
    145     String altGlyphName;
     145    Vector<String> altGlyphNames;
    146146
    147147    if (renderObject) {
     
    155155            if (parentRenderObjectElement->hasTagName(SVGNames::altGlyphTag)) {
    156156                SVGAltGlyphElement* altGlyph = static_cast<SVGAltGlyphElement*>(parentRenderObjectElement);
    157                 if (!altGlyph->hasValidGlyphElement(altGlyphName))
    158                     altGlyphName = emptyString();
     157                if (!altGlyph->hasValidGlyphElements(altGlyphNames))
     158                    altGlyphNames.clear();
    159159            }
    160160        }
     
    162162
    163163    Vector<SVGGlyph> glyphs;
    164     if (!altGlyphName.isEmpty()) {
    165         associatedFontElement->collectGlyphsForGlyphName(altGlyphName, glyphs);
     164    size_t altGlyphNamesSize = altGlyphNames.size();
     165    if (altGlyphNamesSize) {
     166        for (size_t index = 0; index < altGlyphNamesSize; ++index)
     167            associatedFontElement->collectGlyphsForGlyphName(altGlyphNames[index], glyphs);
    166168
    167169        // Assign the unicodeStringLength now that its known.
  • trunk/Source/WebCore/svg/svgtags.in

    r89732 r91331  
    66#if ENABLE_SVG_FONTS
    77altGlyph
    8 #endif
    9 #if 0
    108altGlyphDef
    119altGlyphItem
     
    6967#if ENABLE_SVG_FONTS
    7068glyph
    71 #endif
    72 #if 0
    7369glyphRef
    74 #endif
    75 #if ENABLE_SVG_FONTS
    7670hkern interfaceName=SVGHKernElement, JSInterfaceName=SVGElement
    7771#endif
  • trunk/Source/WebKit/mac/ChangeLog

    r91239 r91331  
     12011-07-19  Leo Yang  <leoyang.webkit@gmail.com>
     2
     3        SVG: Missing implementation of <altGlyphDef>, <altGlyphItem> and <glyphRef>
     4        https://bugs.webkit.org/show_bug.cgi?id=60850
     5
     6        Reviewed by Nikolas Zimmermann.
     7
     8        SVG spec: http://www.w3.org/TR/SVG/text.html#AlternateGlyphDefinitions.
     9        This patch is to implement SVG <altGlyphDef>, <altGlyphItem> and <glyphRef>
     10        elements for alternative glyph features.
     11
     12        * MigrateHeaders.make:
     13
    1142011-07-18  Andy Estes  <aestes@apple.com>
    215
  • trunk/Source/WebKit/mac/MigrateHeaders.make

    r85036 r91331  
    198198    $(PRIVATE_HEADERS_DIR)/DOMSVGAElement.h \
    199199    $(INTERNAL_HEADERS_DIR)/DOMSVGAElementInternal.h \
     200    $(PRIVATE_HEADERS_DIR)/DOMSVGAltGlyphDefElement.h \
     201    $(INTERNAL_HEADERS_DIR)/DOMSVGAltGlyphDefElementInternal.h \
    200202    $(PRIVATE_HEADERS_DIR)/DOMSVGAltGlyphElement.h \
    201203    $(INTERNAL_HEADERS_DIR)/DOMSVGAltGlyphElementInternal.h \
     204    $(PRIVATE_HEADERS_DIR)/DOMSVGAltGlyphItemElement.h \
     205    $(INTERNAL_HEADERS_DIR)/DOMSVGAltGlyphItemElementInternal.h \
    202206    $(PRIVATE_HEADERS_DIR)/DOMSVGAngle.h \
    203207    $(INTERNAL_HEADERS_DIR)/DOMSVGAngleInternal.h \
     
    325329    $(INTERNAL_HEADERS_DIR)/DOMSVGGElementInternal.h \
    326330    $(PRIVATE_HEADERS_DIR)/DOMSVGGlyphElement.h \
     331    $(PRIVATE_HEADERS_DIR)/DOMSVGGlyphRefElement.h \
     332    $(INTERNAL_HEADERS_DIR)/DOMSVGGlyphRefElementInternal.h \
    327333    $(PRIVATE_HEADERS_DIR)/DOMSVGGradientElement.h \
    328334    $(INTERNAL_HEADERS_DIR)/DOMSVGGradientElementInternal.h \
Note: See TracChangeset for help on using the changeset viewer.