Changeset 31240 in webkit


Ignore:
Timestamp:
Mar 23, 2008 10:36:30 PM (16 years ago)
Author:
mjs@apple.com
Message:

WebCore:

2008-03-23 Maciej Stachowiak <mjs@apple.com>

Reviewed by Eric.

  • svg/SVGAltGlyphElement.cpp: Added. Implementation for new element. (WebCore::SVGAltGlyphElement::SVGAltGlyphElement): (WebCore::SVGAltGlyphElement::~SVGAltGlyphElement): (WebCore::SVGAltGlyphElement::setGlyphRef): (WebCore::SVGAltGlyphElement::glyphRef): (WebCore::SVGAltGlyphElement::setFormat): (WebCore::SVGAltGlyphElement::format): (WebCore::SVGAltGlyphElement::childShouldCreateRenderer): (WebCore::SVGAltGlyphElement::createRenderer): For now, this just renders as a tspan, which is right for everything besides the alternate glyph substitution itself.
  • svg/SVGAltGlyphElement.h: Added. Header for new element. (WebCore::SVGAltGlyphElement::contextElement):
  • svg/SVGAltGlyphElement.idl: Added. Interface for new element.
  • svg/SVGTSpanElement.cpp: (WebCore::SVGTSpanElement::childShouldCreateRenderer): Allow altGlyph to render here.
  • svg/SVGTextElement.cpp: (WebCore::SVGTextElement::childShouldCreateRenderer): ditto
  • svg/SVGTextPathElement.cpp: (WebCore::SVGTextPathElement::childShouldCreateRenderer): ditto
  • svg/svgtags.in: Add altGlyph
  • DerivedSources.make: Add new files
  • GNUmakefile.am: ditto
  • WebCore.SVG.exp: Add new ObjC DOM class
  • WebCore.pro: Add new files
  • WebCore.vcproj/WebCore.vcproj: ditto
  • WebCore.xcodeproj/project.pbxproj: ditto
  • bindings/js/JSSVGElementWrapperFactory.cpp: Handle altGlyph
  • bindings/objc/DOM.mm: (WebCore::createElementClassMap): ditto
  • bindings/objc/DOMInternal.h: Include altGlyph header
  • bindings/objc/DOMSVG.h: Include altGlyph header

LayoutTests:

2008-03-23 Maciej Stachowiak <mjs@apple.com>

Reviewed by Eric.

  • platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
  • platform/mac/svg/text/text-altglyph-01-b-expected.txt:
  • svg/dom/altGlyph-dom-expected.txt: Added.
  • svg/dom/altGlyph-dom.xhtml: Added.
  • svg/dom/resources/altGlyph-dom.js: Added.
Location:
trunk
Files:
6 added
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r31238 r31240  
     12008-03-23  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Reviewed by Eric.
     4
     5        - updated test results for "SVGTextElement.getNumberOfChars is broken for altGlyph (affects Acid3 test 79)"
     6        http://bugs.webkit.org/show_bug.cgi?id=17062
     7
     8        * platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
     9        * platform/mac/svg/text/text-altglyph-01-b-expected.txt:
     10        * svg/dom/altGlyph-dom-expected.txt: Added.
     11        * svg/dom/altGlyph-dom.xhtml: Added.
     12        * svg/dom/resources/altGlyph-dom.js: Added.
     13
    1142008-03-23  Robert Blaut  <webkit@blaut.biz>
    215
  • trunk/LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt

    r30635 r31240  
    1111          chunk 1 text run 1 at (5.00,90.00) startOffset 0 endOffset 32 width 463.00: "and many-to-many chars to glyphs"
    1212      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
    13       RenderSVGContainer {g} at (49.33,189.33) size 419.33x96.33
    14         RenderSVGText {text}
    15         RenderSVGText {text} at (50,270) size 38x67 contains 1 chunk(s)
    16           RenderSVGInlineText {#text} at (0,-52) size 38x67
    17             chunk 1 text run 1 at (50.00,270.00) startOffset 0 endOffset 1 width 37.50: "D"
     13      RenderSVGContainer {g} at (49.33,137.33) size 419.33x148.33
     14        RenderSVGText {text} at (140,190) size 188x67 contains 1 chunk(s)
     15          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     16            RenderSVGInlineText {#text} at (0,-52) size 38x67
     17              chunk 1 text run 1 at (140.00,190.00) startOffset 0 endOffset 1 width 37.50: "H"
     18          RenderSVGInlineText {#text} at (0,0) size 0x0
     19          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     20            RenderSVGInlineText {#text} at (37,-52) size 38x67
     21              chunk 1 text run 2 at (177.50,190.00) startOffset 0 endOffset 1 width 37.50: "A"
     22          RenderSVGInlineText {#text} at (0,0) size 0x0
     23          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     24            RenderSVGInlineText {#text} at (75,-52) size 38x67
     25              chunk 1 text run 3 at (215.00,190.00) startOffset 0 endOffset 1 width 37.50: "P"
     26          RenderSVGInlineText {#text} at (0,0) size 0x0
     27          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     28            RenderSVGInlineText {#text} at (112,-52) size 38x67
     29              chunk 1 text run 4 at (252.50,190.00) startOffset 0 endOffset 1 width 37.50: "P"
     30          RenderSVGInlineText {#text} at (0,0) size 0x0
     31          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     32            RenderSVGInlineText {#text} at (150,-52) size 38x67
     33              chunk 1 text run 5 at (290.00,190.00) startOffset 0 endOffset 1 width 37.50: "Y"
     34          RenderSVGInlineText {#text} at (0,0) size 0x0
     35        RenderSVGText {text} at (50,270) size 113x67 contains 1 chunk(s)
     36          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     37            RenderSVGInlineText {#text} at (0,-52) size 38x67
     38              chunk 1 text run 1 at (50.00,270.00) startOffset 0 endOffset 1 width 37.50: "S"
     39          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     40            RenderSVGInlineText {#text} at (37,-52) size 38x67
     41              chunk 1 text run 2 at (87.50,270.00) startOffset 0 endOffset 1 width 37.50: "A"
     42          RenderSVGInlineText {#text} at (75,-52) size 38x67
     43            chunk 1 text run 3 at (125.00,270.00) startOffset 0 endOffset 1 width 37.50: "D"
    1844        RenderSVGText {text} at (280,270) size 188x67 contains 1 chunk(s)
    1945          RenderSVGInlineText {#text} at (0,-52) size 188x67
  • trunk/LayoutTests/platform/mac/svg/text/text-altglyph-01-b-expected.txt

    r30635 r31240  
    1111          chunk 1 text run 1 at (5.00,90.00) startOffset 0 endOffset 32 width 463.00: "and many-to-many chars to glyphs"
    1212      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
    13       RenderSVGContainer {g} at (82.22,315.56) size 698.89x160.56
    14         RenderSVGText {text}
    15         RenderSVGText {text} at (50,270) size 38x67 contains 1 chunk(s)
    16           RenderSVGInlineText {#text} at (0,-52) size 38x67
    17             chunk 1 text run 1 at (50.00,270.00) startOffset 0 endOffset 1 width 37.50: "D"
     13      RenderSVGContainer {g} at (82.22,228.89) size 698.89x247.22
     14        RenderSVGText {text} at (140,190) size 188x67 contains 1 chunk(s)
     15          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     16            RenderSVGInlineText {#text} at (0,-52) size 38x67
     17              chunk 1 text run 1 at (140.00,190.00) startOffset 0 endOffset 1 width 37.50: "H"
     18          RenderSVGInlineText {#text} at (0,0) size 0x0
     19          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     20            RenderSVGInlineText {#text} at (37,-52) size 38x67
     21              chunk 1 text run 2 at (177.50,190.00) startOffset 0 endOffset 1 width 37.50: "A"
     22          RenderSVGInlineText {#text} at (0,0) size 0x0
     23          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     24            RenderSVGInlineText {#text} at (75,-52) size 38x67
     25              chunk 1 text run 3 at (215.00,190.00) startOffset 0 endOffset 1 width 37.50: "P"
     26          RenderSVGInlineText {#text} at (0,0) size 0x0
     27          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     28            RenderSVGInlineText {#text} at (112,-52) size 38x67
     29              chunk 1 text run 4 at (252.50,190.00) startOffset 0 endOffset 1 width 37.50: "P"
     30          RenderSVGInlineText {#text} at (0,0) size 0x0
     31          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     32            RenderSVGInlineText {#text} at (150,-52) size 38x67
     33              chunk 1 text run 5 at (290.00,190.00) startOffset 0 endOffset 1 width 37.50: "Y"
     34          RenderSVGInlineText {#text} at (0,0) size 0x0
     35        RenderSVGText {text} at (50,270) size 113x67 contains 1 chunk(s)
     36          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     37            RenderSVGInlineText {#text} at (0,-52) size 38x67
     38              chunk 1 text run 1 at (50.00,270.00) startOffset 0 endOffset 1 width 37.50: "S"
     39          RenderSVGTSpan {altGlyph} at (0,0) size 38x67
     40            RenderSVGInlineText {#text} at (37,-52) size 38x67
     41              chunk 1 text run 2 at (87.50,270.00) startOffset 0 endOffset 1 width 37.50: "A"
     42          RenderSVGInlineText {#text} at (75,-52) size 38x67
     43            chunk 1 text run 3 at (125.00,270.00) startOffset 0 endOffset 1 width 37.50: "D"
    1844        RenderSVGText {text} at (280,270) size 188x67 contains 1 chunk(s)
    1945          RenderSVGInlineText {#text} at (0,-52) size 188x67
  • trunk/WebCore/ChangeLog

    r31238 r31240  
     12008-03-23  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Reviewed by Eric.
     4
     5        - fixed "SVGTextElement.getNumberOfChars is broken for altGlyph (affects Acid3 test 79)"
     6        http://bugs.webkit.org/show_bug.cgi?id=17062
     7
     8        * svg/SVGAltGlyphElement.cpp: Added. Implementation for new element.
     9        (WebCore::SVGAltGlyphElement::SVGAltGlyphElement):
     10        (WebCore::SVGAltGlyphElement::~SVGAltGlyphElement):
     11        (WebCore::SVGAltGlyphElement::setGlyphRef):
     12        (WebCore::SVGAltGlyphElement::glyphRef):
     13        (WebCore::SVGAltGlyphElement::setFormat):
     14        (WebCore::SVGAltGlyphElement::format):
     15        (WebCore::SVGAltGlyphElement::childShouldCreateRenderer):
     16        (WebCore::SVGAltGlyphElement::createRenderer): For now, this just renders as a tspan,
     17        which is right for everything besides the alternate glyph substitution itself.
     18        * svg/SVGAltGlyphElement.h: Added. Header for new element.
     19        (WebCore::SVGAltGlyphElement::contextElement):
     20        * svg/SVGAltGlyphElement.idl: Added. Interface for new element.
     21        * svg/SVGTSpanElement.cpp:
     22        (WebCore::SVGTSpanElement::childShouldCreateRenderer): Allow altGlyph to render here.
     23        * svg/SVGTextElement.cpp:
     24        (WebCore::SVGTextElement::childShouldCreateRenderer): ditto
     25        * svg/SVGTextPathElement.cpp:
     26        (WebCore::SVGTextPathElement::childShouldCreateRenderer): ditto
     27        * svg/svgtags.in: Add altGlyph
     28        * DerivedSources.make: Add new files
     29        * GNUmakefile.am: ditto
     30        * WebCore.SVG.exp: Add new ObjC DOM class
     31        * WebCore.pro: Add new files
     32        * WebCore.vcproj/WebCore.vcproj: ditto
     33        * WebCore.xcodeproj/project.pbxproj: ditto
     34        * bindings/js/JSSVGElementWrapperFactory.cpp: Handle altGlyph
     35        * bindings/objc/DOM.mm:
     36        (WebCore::createElementClassMap): ditto
     37        * bindings/objc/DOMInternal.h: Include altGlyph header
     38        * bindings/objc/DOMSVG.h: Include altGlyph header
     39
    1402008-03-23  Robert Blaut  <webkit@blaut.biz>
    241
  • trunk/WebCore/DerivedSources.make

    r31056 r31240  
    179179    SQLTransaction \
    180180    SVGAElement \
     181    SVGAltGlyphElement \
    181182    SVGAngle \
    182183    SVGAnimateColorElement \
  • trunk/WebCore/GNUmakefile.am

    r31214 r31240  
    13261326        DerivedSources/SVGNames.cpp \
    13271327        DerivedSources/JSSVGAElement.h \
     1328        DerivedSources/JSSVGAltGlyphElement.h \
    13281329        DerivedSources/JSSVGAngle.h \
    13291330        DerivedSources/JSSVGAnimatedAngle.h \
     
    14571458        DerivedSources/JSSVGZoomEvent.h \
    14581459        DerivedSources/JSSVGAElement.cpp \
     1460        DerivedSources/JSSVGAltGlyphElement.cpp \
    14591461        DerivedSources/JSSVGAngle.cpp \
    14601462        DerivedSources/JSSVGAnimatedAngle.cpp \
     
    15911593        WebCore/svg/SVGZoomEvent.idl \
    15921594        WebCore/svg/SVGAElement.idl \
     1595        WebCore/svg/SVGAltGlyphElement.idl \
    15931596        WebCore/svg/SVGAngle.idl \
    15941597        WebCore/svg/SVGAnimateColorElement.idl \
     
    17501753        WebCore/svg/ColorDistance.cpp \
    17511754        WebCore/svg/SVGAElement.cpp \
     1755        WebCore/svg/SVGAltGlyphElement.cpp \
    17521756        WebCore/svg/SVGAngle.cpp \
    17531757        WebCore/svg/SVGAnimateColorElement.cpp \
  • trunk/WebCore/WebCore.SVG.exp

    r29663 r31240  
    11.objc_class_name_DOMSVGAElement
     2.objc_class_name_DOMSVGAltGlyphElement
    23.objc_class_name_DOMSVGAngle
    34.objc_class_name_DOMSVGAnimateColorElement
  • trunk/WebCore/WebCore.pro

    r31135 r31240  
    13001300    IDL_BINDINGS += svg/SVGZoomEvent.idl \
    13011301        svg/SVGAElement.idl \
     1302        svg/SVGAltGlyphElement.idl \
    13021303        svg/SVGAngle.idl \
    13031304        svg/SVGAnimateColorElement.idl \
     
    14521453        svg/ColorDistance.cpp \
    14531454        svg/SVGAElement.cpp \
     1455        svg/SVGAltGlyphElement.cpp \
    14541456        svg/SVGAngle.cpp \
    14551457        svg/SVGAnimateColorElement.cpp \
  • trunk/WebCore/WebCore.vcproj/WebCore.vcproj

    r31166 r31240  
    16761676                        </File>
    16771677                        <File
     1678                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphElement.cpp"
     1679                                >
     1680                        </File>
     1681                        <File
     1682                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphElement.h"
     1683                                >
     1684                        </File>
     1685                        <File
     1686                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphElement.cpp"
     1687                                >
     1688                        </File>
     1689                        <File
     1690                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGAltGlyphElement.h"
     1691                                >
     1692                        </File>
     1693                        <File
    16781694                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGAngle.cpp"
    16791695                                >
     
    1026510281                        <File
    1026610282                                RelativePath="..\svg\SVGAElement.h"
     10283                                >
     10284                        </File>
     10285                        <File
     10286                                RelativePath="..\svg\SVGAltGlyphElement.cpp"
     10287                                >
     10288                        </File>
     10289                        <File
     10290                                RelativePath="..\svg\SVGAltGlyphElement.h"
    1026710291                                >
    1026810292                        </File>
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r31166 r31240  
    510510                650F53DC09D15DDA00C9B0C8 /* CSSGrammar.h in Headers */ = {isa = PBXBuildFile; fileRef = 650F53DB09D15DDA00C9B0C8 /* CSSGrammar.h */; };
    511511                650F53DD09D15DDF00C9B0C8 /* CSSGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6565814409D13043000E61D7 /* CSSGrammar.cpp */; };
     512                6515EC910D9723FF0063D49A /* JSSVGAltGlyphElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6515EC8F0D9723FF0063D49A /* JSSVGAltGlyphElement.cpp */; };
     513                6515EC920D9723FF0063D49A /* JSSVGAltGlyphElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 6515EC900D9723FF0063D49A /* JSSVGAltGlyphElement.h */; };
    512514                6550B69D099DF0270090D781 /* CDATASection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6550B693099DF0270090D781 /* CDATASection.cpp */; };
    513515                6550B69E099DF0270090D781 /* CDATASection.h in Headers */ = {isa = PBXBuildFile; fileRef = 6550B694099DF0270090D781 /* CDATASection.h */; };
     
    520522                6550B6A5099DF0270090D781 /* Text.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6550B69B099DF0270090D781 /* Text.cpp */; };
    521523                6550B6A6099DF0270090D781 /* Text.h in Headers */ = {isa = PBXBuildFile; fileRef = 6550B69C099DF0270090D781 /* Text.h */; settings = {ATTRIBUTES = (Private, ); }; };
     524                65653F2D0D9727D200CA9723 /* SVGAltGlyphElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65653F2A0D9727D200CA9723 /* SVGAltGlyphElement.cpp */; };
     525                65653F2E0D9727D200CA9723 /* SVGAltGlyphElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 65653F2B0D9727D200CA9723 /* SVGAltGlyphElement.h */; };
     526                65653F2F0D9727D200CA9723 /* SVGAltGlyphElement.idl in Resources */ = {isa = PBXBuildFile; fileRef = 65653F2C0D9727D200CA9723 /* SVGAltGlyphElement.idl */; };
    522527                656580F409D12B20000E61D7 /* CSSPropertyNames.h in Headers */ = {isa = PBXBuildFile; fileRef = 656580EF09D12B20000E61D7 /* CSSPropertyNames.h */; };
    523528                6565815109D13043000E61D7 /* CSSValueKeywords.h in Headers */ = {isa = PBXBuildFile; fileRef = 6565814809D13043000E61D7 /* CSSValueKeywords.h */; };
     
    553558                65A21484097A3F5300B9050A /* FrameTree.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65A21482097A3F5300B9050A /* FrameTree.cpp */; };
    554559                65A21485097A3F5300B9050A /* FrameTree.h in Headers */ = {isa = PBXBuildFile; fileRef = 65A21483097A3F5300B9050A /* FrameTree.h */; settings = {ATTRIBUTES = (Private, ); }; };
     560                65AA6BAF0D974A00000541AE /* DOMSVGAltGlyphElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 65AA6BAC0D974A00000541AE /* DOMSVGAltGlyphElement.h */; };
     561                65AA6BB00D974A00000541AE /* DOMSVGAltGlyphElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 65AA6BAD0D974A00000541AE /* DOMSVGAltGlyphElement.mm */; };
     562                65AA6BB10D974A00000541AE /* DOMSVGAltGlyphElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 65AA6BAE0D974A00000541AE /* DOMSVGAltGlyphElementInternal.h */; };
    555563                65BF022E0974816300C43196 /* Frame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65BF02290974816300C43196 /* Frame.cpp */; };
    556564                65BF022F0974816300C43196 /* Frame.h in Headers */ = {isa = PBXBuildFile; fileRef = 65BF022A0974816300C43196 /* Frame.h */; settings = {ATTRIBUTES = (Private, ); }; };
     
    48624870                5DCF836C0D59159800953BC6 /* PluginInfoStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginInfoStore.h; sourceTree = "<group>"; };
    48634871                650F53DB09D15DDA00C9B0C8 /* CSSGrammar.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CSSGrammar.h; sourceTree = "<group>"; };
     4872                6515EC8F0D9723FF0063D49A /* JSSVGAltGlyphElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSSVGAltGlyphElement.cpp; path = ../../../../symroots/Debug/DerivedSources/WebCore/JSSVGAltGlyphElement.cpp; sourceTree = SOURCE_ROOT; };
     4873                6515EC900D9723FF0063D49A /* JSSVGAltGlyphElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSSVGAltGlyphElement.h; path = ../../../../symroots/Debug/DerivedSources/WebCore/JSSVGAltGlyphElement.h; sourceTree = SOURCE_ROOT; };
    48644874                6548E24809E1E04D00AF8020 /* Document.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Document.idl; sourceTree = "<group>"; };
    48654875                6550B693099DF0270090D781 /* CDATASection.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = CDATASection.cpp; sourceTree = "<group>"; };
     
    48734883                6550B69B099DF0270090D781 /* Text.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Text.cpp; sourceTree = "<group>"; };
    48744884                6550B69C099DF0270090D781 /* Text.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Text.h; sourceTree = "<group>"; };
     4885                65653F2A0D9727D200CA9723 /* SVGAltGlyphElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAltGlyphElement.cpp; sourceTree = "<group>"; };
     4886                65653F2B0D9727D200CA9723 /* SVGAltGlyphElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGAltGlyphElement.h; sourceTree = "<group>"; };
     4887                65653F2C0D9727D200CA9723 /* SVGAltGlyphElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SVGAltGlyphElement.idl; sourceTree = "<group>"; };
    48754888                656580ED09D12B20000E61D7 /* CSSPropertyNames.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = CSSPropertyNames.cpp; sourceTree = "<group>"; };
    48764889                656580EE09D12B20000E61D7 /* CSSPropertyNames.gperf */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = CSSPropertyNames.gperf; sourceTree = "<group>"; };
     
    49194932                65A21483097A3F5300B9050A /* FrameTree.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FrameTree.h; sourceTree = "<group>"; };
    49204933                65A640F00533BB1F0085E777 /* BlockExceptions.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = BlockExceptions.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
     4934                65AA6BAC0D974A00000541AE /* DOMSVGAltGlyphElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DOMSVGAltGlyphElement.h; path = ../../../../symroots/Debug/DerivedSources/WebCore/DOMSVGAltGlyphElement.h; sourceTree = SOURCE_ROOT; };
     4935                65AA6BAD0D974A00000541AE /* DOMSVGAltGlyphElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = DOMSVGAltGlyphElement.mm; path = ../../../../symroots/Debug/DerivedSources/WebCore/DOMSVGAltGlyphElement.mm; sourceTree = SOURCE_ROOT; };
     4936                65AA6BAE0D974A00000541AE /* DOMSVGAltGlyphElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DOMSVGAltGlyphElementInternal.h; path = ../../../../symroots/Debug/DerivedSources/WebCore/DOMSVGAltGlyphElementInternal.h; sourceTree = SOURCE_ROOT; };
    49214937                65BF02290974816300C43196 /* Frame.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Frame.cpp; sourceTree = "<group>"; };
    49224938                65BF022A0974816300C43196 /* Frame.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Frame.h; sourceTree = "<group>"; };
     
    89028918                                A8E544150CA9D1C10097D09B /* DOMSVGAElementInternal.h */,
    89038919                                854163690AC7180B0001E01B /* DOMSVGAngle.h */,
     8920                                65AA6BAC0D974A00000541AE /* DOMSVGAltGlyphElement.h */,
     8921                                65AA6BAD0D974A00000541AE /* DOMSVGAltGlyphElement.mm */,
     8922                                65AA6BAE0D974A00000541AE /* DOMSVGAltGlyphElementInternal.h */,
    89048923                                854163680AC7180B0001E01B /* DOMSVGAngle.mm */,
    89058924                                A8E544130CA9D1C10097D09B /* DOMSVGAngleInternal.h */,
     
    1043310452                        isa = PBXGroup;
    1043410453                        children = (
     10454                                6515EC8F0D9723FF0063D49A /* JSSVGAltGlyphElement.cpp */,
     10455                                6515EC900D9723FF0063D49A /* JSSVGAltGlyphElement.h */,
    1043510456                                B20111050AB7740500DB0E68 /* JSSVGAElement.cpp */,
    1043610457                                B20111060AB7740500DB0E68 /* JSSVGAElement.h */,
     
    1089810919                                B22277E10D00BF1F0071B782 /* SVGAngle.h */,
    1089910920                                B22277E20D00BF1F0071B782 /* SVGAngle.idl */,
     10921                                65653F2A0D9727D200CA9723 /* SVGAltGlyphElement.cpp */,
     10922                                65653F2B0D9727D200CA9723 /* SVGAltGlyphElement.h */,
     10923                                65653F2C0D9727D200CA9723 /* SVGAltGlyphElement.idl */,
    1090010924                                B22277E30D00BF1F0071B782 /* SVGAnimateColorElement.cpp */,
    1090110925                                B22277E40D00BF1F0071B782 /* SVGAnimateColorElement.h */,
     
    1456114585                                9382AAB50D8C386100F357A6 /* NodeWithIndexBefore.h in Headers */,
    1456214586                                9382AAB60D8C386100F357A6 /* NodeWithIndexAfter.h in Headers */,
     14587                                6515EC920D9723FF0063D49A /* JSSVGAltGlyphElement.h in Headers */,
     14588                                65653F2E0D9727D200CA9723 /* SVGAltGlyphElement.h in Headers */,
     14589                                65AA6BAF0D974A00000541AE /* DOMSVGAltGlyphElement.h in Headers */,
     14590                                65AA6BB10D974A00000541AE /* DOMSVGAltGlyphElementInternal.h in Headers */,
    1456314591                        );
    1456414592                        runOnlyForDeploymentPostprocessing = 0;
     
    1467614704                                A779791B0D6B9D0C003851B9 /* ImageData.idl in Resources */,
    1467714705                                BCA83E370D7CDC4E003421A8 /* Clipboard.idl in Resources */,
     14706                                65653F2F0D9727D200CA9723 /* SVGAltGlyphElement.idl in Resources */,
    1467814707                        );
    1467914708                        runOnlyForDeploymentPostprocessing = 0;
     
    1619916228                                1CE3F8B40D89CFDC00FB035F /* MainThread.cpp in Sources */,
    1620016229                                512DD8E30D91E2B4000F89EE /* SharedBufferCF.cpp in Sources */,
     16230                                6515EC910D9723FF0063D49A /* JSSVGAltGlyphElement.cpp in Sources */,
     16231                                65653F2D0D9727D200CA9723 /* SVGAltGlyphElement.cpp in Sources */,
     16232                                65AA6BB00D974A00000541AE /* DOMSVGAltGlyphElement.mm in Sources */,
    1620116233                        );
    1620216234                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/WebCore/bindings/js/JSSVGElementWrapperFactory.cpp

    r29663 r31240  
    2424
    2525#include "JSSVGAElement.h"
     26#include "JSSVGAltGlyphElement.h"
    2627#include "JSSVGAnimateColorElement.h"
    2728#include "JSSVGAnimateElement.h"
     
    9798
    9899#include "SVGAElement.h"
     100#include "SVGAltGlyphElement.h"
    99101#include "SVGAnimateColorElement.h"
    100102#include "SVGAnimateElement.h"
     
    246248#define FOR_EACH_TAG(macro) \
    247249    macro(a, A) \
     250    macro(altGlyph, AltGlyph) \
    248251    macro(circle, Circle) \
    249252    macro(clipPath, ClipPath) \
  • trunk/WebCore/bindings/objc/DOM.mm

    r30897 r31240  
    192192#if ENABLE(SVG)
    193193    addElementClass(SVGNames::aTag, [DOMSVGAElement class]);
     194    addElementClass(SVGNames::altGlyphTag, [DOMSVGAltGlyphElement class]);
    194195#if ENABLE(SVG_ANIMATION)
    195196    addElementClass(SVGNames::animateTag, [DOMSVGAnimateElement class]);
  • trunk/WebCore/bindings/objc/DOMInternal.h

    r29012 r31240  
    149149#if ENABLE(SVG)
    150150#import "DOMSVGAElementInternal.h"
     151#import "DOMSVGAltGlyphElementInternal.h"
    151152#import "DOMSVGAngleInternal.h"
    152153#import "DOMSVGAnimateColorElementInternal.h"
  • trunk/WebCore/bindings/objc/DOMSVG.h

    r29663 r31240  
    2626
    2727#import <WebCore/DOMSVGAElement.h>
     28#import <WebCore/DOMSVGAltGlyphElement.h>
    2829#import <WebCore/DOMSVGAngle.h>
    2930#import <WebCore/DOMSVGAnimateColorElement.h>
  • trunk/WebCore/svg/SVGTSpanElement.cpp

    r26384 r31240  
    4343bool SVGTSpanElement::childShouldCreateRenderer(Node* child) const
    4444{
    45     if (child->isTextNode() || child->hasTagName(SVGNames::tspanTag) ||
     45    if (child->isTextNode() || child->hasTagName(SVGNames::altGlyphTag) || child->hasTagName(SVGNames::tspanTag) ||
    4646        child->hasTagName(SVGNames::trefTag) || child->hasTagName(SVGNames::textPathTag))
    4747        return true;
  • trunk/WebCore/svg/SVGTextElement.cpp

    r30430 r31240  
    105105bool SVGTextElement::childShouldCreateRenderer(Node* child) const
    106106{
    107     if (child->isTextNode() || child->hasTagName(SVGNames::tspanTag) ||
     107    if (child->isTextNode() || child->hasTagName(SVGNames::altGlyphTag) || child->hasTagName(SVGNames::tspanTag) ||
    108108        child->hasTagName(SVGNames::trefTag) || child->hasTagName(SVGNames::aTag) || child->hasTagName(SVGNames::textPathTag))
    109109        return true;
  • trunk/WebCore/svg/SVGTextPathElement.cpp

    r29951 r31240  
    8383bool SVGTextPathElement::childShouldCreateRenderer(Node* child) const
    8484{
    85     if (child->isTextNode() || child->hasTagName(SVGNames::trefTag) ||
     85    if (child->isTextNode() || child->hasTagName(SVGNames::altGlyphTag) || child->hasTagName(SVGNames::trefTag) ||
    8686        child->hasTagName(SVGNames::tspanTag) || child->hasTagName(SVGNames::textPathTag))
    8787        return true;
  • trunk/WebCore/svg/svgtags.in

    r30038 r31240  
    11a
     2altGlyph
    23#if 0
    3 altGlyph
    44altGlyphDef
    55altGlyphItem
Note: See TracChangeset for help on using the changeset viewer.