2007-10-22 Eric Seidel <eric@webkit.org>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Oct 2007 03:49:17 +0000 (03:49 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Oct 2007 03:49:17 +0000 (03:49 +0000)
        Reviewed by Maciej.

        Fix build by properly exposing SVG font-face dom bindings.

        * DerivedSources.make:
        * WebCore.vcproj/WebCore.vcproj: add font-face files to build
        * WebCore.xcodeproj/project.pbxproj: add missing DOM bindings files
        * bindings/js/JSSVGElementWrapperFactory.cpp:
        * bindings/objc/DOM.mm:
        (WebCore::createElementClassMap):
        * bindings/objc/DOMSVG.h:
        * ksvg2/svg/SVGDefinitionSrcElement.idl: inherit from SVGElement

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26907 268f45cc-cd09-0410-ab3c-d52691b4dbfc

14 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/js/resources/js-test-pre.js
LayoutTests/svg/dom/font-face-elements-expected.txt [new file with mode: 0644]
LayoutTests/svg/dom/font-face-elements.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSSVGElementWrapperFactory.cpp
WebCore/bindings/objc/DOM.mm
WebCore/bindings/objc/DOMSVG.h
WebCore/ksvg2/svg/SVGDefinitionSrcElement.idl
WebKit/ChangeLog
WebKit/MigrateHeaders.make

index 0f5da29..8409d63 100644 (file)
@@ -1,5 +1,15 @@
 2007-10-22  Eric Seidel  <eric@webkit.org>
 
+        Reviewed by Maciej.
+        
+        Add tests to verify that font-face-* DOM bindings are exposed correctly.
+
+        * fast/js/resources/js-test-pre.js: add shouldBeNull and shouldBeEqualToString
+        * svg/dom/font-face-elements-expected.txt: Added.
+        * svg/dom/font-face-elements.html: Added.
+
+2007-10-22  Eric Seidel  <eric@webkit.org>
+
         Reviewed by hyatt.
         
         Implement <font-face> and friends
index d11d2bc..4058a14 100644 (file)
@@ -82,6 +82,13 @@ function shouldBe(_a, _b)
 function shouldBeTrue(_a) { shouldBe(_a, "true"); }
 function shouldBeFalse(_a) { shouldBe(_a, "false"); }
 function shouldBeNaN(_a) { shouldBe(_a, "NaN"); }
+function shouldBeNull(_a) { shouldBe(_a, "null"); }
+
+function shouldBeEqualToString(a, b)
+{
+  var unevaledString = '"' + b.replace(/"/g, "\"") + '"';
+  shouldBe(a, unevaledString);
+}
 
 function shouldBeUndefined(_a)
 {
diff --git a/LayoutTests/svg/dom/font-face-elements-expected.txt b/LayoutTests/svg/dom/font-face-elements-expected.txt
new file mode 100644 (file)
index 0000000..0ad69fc
--- /dev/null
@@ -0,0 +1,15 @@
+This tests to make sure we have all the font-face related dom bindings.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS font-face in http://www.w3.org/2000/svg is JS object SVGFontFaceElement
+PASS font-face-name in http://www.w3.org/2000/svg is JS object SVGFontFaceNameElement
+PASS font-face-format in http://www.w3.org/2000/svg is JS object SVGFontFaceFormatElement
+PASS font-face-src in http://www.w3.org/2000/svg is JS object SVGFontFaceSrcElement
+PASS font-face-uri in http://www.w3.org/2000/svg is JS object SVGFontFaceUriElement
+PASS definition-src in http://www.w3.org/2000/svg is JS object SVGDefinitionSrcElement
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/svg/dom/font-face-elements.html b/LayoutTests/svg/dom/font-face-elements.html
new file mode 100644 (file)
index 0000000..ef7c0d6
--- /dev/null
@@ -0,0 +1,40 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+
+description("This tests to make sure we have all the font-face related dom bindings.");
+
+function stringsShouldBeEqual(a, b) {
+  
+}
+
+function checkForBinding(namespace, elementName, className) {
+  var element = document.createElementNS(namespace, elementName);
+  if (element.toString() == "[object " + className + "]") {
+    testPassed(elementName + " in " + namespace + " is JS object " + className);
+  } else {
+    testFailed(elementName + " in " + namespace + " is NOT JS object " + className + ", rather: " + element);
+  }
+}
+
+var svgNs = "http://www.w3.org/2000/svg";
+
+checkForBinding(svgNs, "font-face", "SVGFontFaceElement");
+checkForBinding(svgNs, "font-face-name", "SVGFontFaceNameElement");
+checkForBinding(svgNs, "font-face-format", "SVGFontFaceFormatElement");
+checkForBinding(svgNs, "font-face-src", "SVGFontFaceSrcElement");
+checkForBinding(svgNs, "font-face-uri", "SVGFontFaceUriElement");
+checkForBinding(svgNs, "definition-src", "SVGDefinitionSrcElement");
+
+successfullyParsed = true;
+
+</script>
+<script src="../../fast/js/resources/js-test-post.js"></script>
+</body>
+</html>
index bfd86bb..540bb0c 100644 (file)
@@ -1,3 +1,18 @@
+2007-10-22  Eric Seidel  <eric@webkit.org>
+
+        Reviewed by Maciej.
+
+        Fix build by properly exposing SVG font-face dom bindings.
+
+        * DerivedSources.make:
+        * WebCore.vcproj/WebCore.vcproj: add font-face files to build
+        * WebCore.xcodeproj/project.pbxproj: add missing DOM bindings files
+        * bindings/js/JSSVGElementWrapperFactory.cpp:
+        * bindings/objc/DOM.mm:
+        (WebCore::createElementClassMap):
+        * bindings/objc/DOMSVG.h:
+        * ksvg2/svg/SVGDefinitionSrcElement.idl: inherit from SVGElement
+
 2007-10-22  Mark Rowe  <mrowe@apple.com>
 
         Gtk build fix.
index ee735ac..aad55c1 100644 (file)
@@ -173,6 +173,7 @@ all : \
     DOMSVGColor.h \
     DOMSVGComponentTransferFunctionElement.h \
     DOMSVGCursorElement.h \
+    DOMSVGDefinitionSrcElement.h \
     DOMSVGDefsElement.h \
     DOMSVGDescElement.h \
     DOMSVGDocument.h \
@@ -446,6 +447,7 @@ all : \
     JSSVGComponentTransferFunctionElement.h \
     JSSVGCursorElement.h \
     JSSVGDefsElement.h \
+    JSSVGDefinitionSrcElement.h \
     JSSVGDescElement.h \
     JSSVGDocument.h \
     JSSVGException.h \
index f51822e..06c0399 100644 (file)
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGDefinitionSrcElement.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGDefinitionSrcElement.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGDefsElement.cpp"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceElement.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceElement.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceFormatElement.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceFormatElement.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceNameElement.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceNameElement.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceSrcElement.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceSrcElement.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceUriElement.cpp"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGFontFaceUriElement.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSSVGForeignObjectElement.cpp"\r
                                >\r
                        </File>\r
                                        >\r
                                </File>\r
                                <File\r
+                                       RelativePath="..\ksvg2\svg\SVGDefinitionSrcElement.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGDefinitionSrcElement.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
                                        RelativePath="..\ksvg2\svg\SVGDefsElement.cpp"\r
                                        >\r
                                </File>\r
                                        >\r
                                </File>\r
                                <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceElement.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceElement.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceFormatElement.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceFormatElement.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceNameElement.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceNameElement.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceSrcElement.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceSrcElement.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceUriElement.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\ksvg2\svg\SVGFontFaceUriElement.h"\r
+                                       >\r
+                               </File>\r
+                               <File\r
                                        RelativePath="..\ksvg2\svg\SVGForeignObjectElement.cpp"\r
                                        >\r
                                </File>\r
index 0ec9b20..8207420 100644 (file)
                A80E7E9E0A1A83E3007FB8C5 /* JSHTMLTextAreaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A80E7E940A1A83E3007FB8C5 /* JSHTMLTextAreaElement.cpp */; };
                A80E7E9F0A1A83E3007FB8C5 /* JSHTMLButtonElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A80E7E950A1A83E3007FB8C5 /* JSHTMLButtonElement.h */; };
                A80E7EA00A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A80E7E960A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp */; };
+               A80F393D0CCD971A002DD990 /* JSSVGDefinitionSrcElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A80F393B0CCD971A002DD990 /* JSSVGDefinitionSrcElement.h */; };
+               A80F393E0CCD971A002DD990 /* JSSVGDefinitionSrcElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A80F393C0CCD971A002DD990 /* JSSVGDefinitionSrcElement.cpp */; };
+               A80F39580CCD9796002DD990 /* DOMSVGDefinitionSrcElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = A80F39550CCD9796002DD990 /* DOMSVGDefinitionSrcElementInternal.h */; };
+               A80F39590CCD9796002DD990 /* DOMSVGDefinitionSrcElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = A80F39560CCD9796002DD990 /* DOMSVGDefinitionSrcElement.mm */; };
+               A80F395A0CCD9796002DD990 /* DOMSVGDefinitionSrcElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A80F39570CCD9796002DD990 /* DOMSVGDefinitionSrcElement.h */; };
+               A80F3A2D0CCD9D5A002DD990 /* DOMSVGDefinitionSrcElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A80F39550CCD9796002DD990 /* DOMSVGDefinitionSrcElementInternal.h */; };
+               A80F3A2E0CCD9D5A002DD990 /* DOMSVGDefinitionSrcElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A80F39570CCD9796002DD990 /* DOMSVGDefinitionSrcElement.h */; };
+               A80F3A500CCDA2A2002DD990 /* DOMSVGFETurbulenceElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 8502AB3E0AD438C000378540 /* DOMSVGFETurbulenceElement.h */; };
+               A80F3A5A0CCDA2ED002DD990 /* DOMSVGAnimatedPoints.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ACEF070ACDCCCF001214FF /* DOMSVGAnimatedPoints.h */; };
+               A80F3A640CCDA2FC002DD990 /* DOMSVGLineElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2FD0AD7E94200FBFF1E /* DOMSVGLineElement.h */; };
+               A80F3A6B0CCDA30A002DD990 /* DOMSVGPathSegLinetoAbs.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A2D0ADAC473003BBDEA /* DOMSVGPathSegLinetoAbs.h */; };
+               A80F3A750CCDA318002DD990 /* DOMSVGPathSegCurvetoQuadraticAbs.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A250ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticAbs.h */; };
+               A80F3A7D0CCDA324002DD990 /* DOMSVGAngle.h in Headers */ = {isa = PBXBuildFile; fileRef = 854163690AC7180B0001E01B /* DOMSVGAngle.h */; };
+               A80F3A850CCDA38D002DD990 /* DOMSVGFontFaceUriElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B793A0CCB0125000B0825 /* DOMSVGFontFaceUriElementInternal.h */; };
+               A80F3A860CCDA38D002DD990 /* DOMSVGFontFaceFormatElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B79430CCB0125000B0825 /* DOMSVGFontFaceFormatElementInternal.h */; };
+               A80F3A870CCDA38D002DD990 /* DOMSVGFontFaceNameElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B79400CCB0125000B0825 /* DOMSVGFontFaceNameElementInternal.h */; };
+               A80F3A880CCDA38D002DD990 /* DOMSVGFontFaceElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B79460CCB0125000B0825 /* DOMSVGFontFaceElementInternal.h */; };
+               A80F3A890CCDA38D002DD990 /* DOMSVGFontFaceFormatElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B79450CCB0125000B0825 /* DOMSVGFontFaceFormatElement.h */; };
+               A80F3A8A0CCDA38D002DD990 /* DOMSVGFontFaceNameElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B79420CCB0125000B0825 /* DOMSVGFontFaceNameElement.h */; };
+               A80F3A8B0CCDA38D002DD990 /* DOMSVGFontFaceElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B79480CCB0125000B0825 /* DOMSVGFontFaceElement.h */; };
+               A80F3A8C0CCDA38D002DD990 /* DOMSVGFontFaceSrcElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B793D0CCB0125000B0825 /* DOMSVGFontFaceSrcElementInternal.h */; };
+               A80F3A8D0CCDA38D002DD990 /* DOMSVGFontFaceUriElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B793C0CCB0125000B0825 /* DOMSVGFontFaceUriElement.h */; };
+               A80F3A8E0CCDA38D002DD990 /* DOMSVGFontFaceSrcElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A83B793F0CCB0125000B0825 /* DOMSVGFontFaceSrcElement.h */; };
                A81369CA097374F600D74463 /* HTMLIsIndexElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A81369AE097374F500D74463 /* HTMLIsIndexElement.h */; };
                A81369CB097374F600D74463 /* HTMLIsIndexElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A81369AF097374F500D74463 /* HTMLIsIndexElement.cpp */; };
                A81369CC097374F600D74463 /* HTMLInputElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A81369B0097374F500D74463 /* HTMLInputElement.h */; };
                A8F46A840CB20A9D003A9670 /* DOMSVGClipPathElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8503612C0ACE007B001F3D9E /* DOMSVGClipPathElement.h */; };
                A8F46A850CB20A9D003A9670 /* DOMSVGElementInstanceListInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = B24055640B5BE640002A28C0 /* DOMSVGElementInstanceListInternal.h */; };
                A8F46A860CB20A9D003A9670 /* DOMSVGFESpecularLightingElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8502AB8A0AD4394E00378540 /* DOMSVGFESpecularLightingElementInternal.h */; };
-               A8F46A870CB20A9D003A9670 /* DOMSVGFETurbulenceElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8502AB3E0AD438C000378540 /* DOMSVGFETurbulenceElement.h */; };
                A8F46A880CB20A9D003A9670 /* DOMSVGGradientElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2EC0AD7E90300FBFF1E /* DOMSVGGradientElement.h */; };
                A8F46A890CB20A9D003A9670 /* DOMSVGAnimateColorElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 850361280ACE007B001F3D9E /* DOMSVGAnimateColorElement.h */; };
                A8F46A8A0CB20A9D003A9670 /* DOMSVGForeignObjectElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85C9A3100AD7E9A400FBFF1E /* DOMSVGForeignObjectElementInternal.h */; };
                A8F46A930CB20A9D003A9670 /* DOMSVGZoomEvent.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D629A0AD888EF00012995 /* DOMSVGZoomEvent.h */; };
                A8F46A940CB20A9D003A9670 /* DOMSVGPathSegLinetoVerticalRel.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A370ADAC473003BBDEA /* DOMSVGPathSegLinetoVerticalRel.h */; };
                A8F46A950CB20A9D003A9670 /* DOMSVGAnimatedAngle.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 850FD1D70AC9C84200123D0D /* DOMSVGAnimatedAngle.h */; };
-               A8F46A960CB20A9D003A9670 /* DOMSVGAnimatedPoints.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85ACEF070ACDCCCF001214FF /* DOMSVGAnimatedPoints.h */; };
                A8F46A970CB20A9D003A9670 /* DOMSVGPathSegCurvetoCubicAbsInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A5D0ADAC4C5003BBDEA /* DOMSVGPathSegCurvetoCubicAbsInternal.h */; };
                A8F46A980CB20A9D003A9670 /* DOMSVGSVGElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A9A0ADAC708003BBDEA /* DOMSVGSVGElement.h */; };
                A8F46A990CB20A9D003A9670 /* DOMSVGFEColorMatrixElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8502AB160AD438C000378540 /* DOMSVGFEColorMatrixElement.h */; };
                A8F46AA90CB20A9D003A9670 /* DOMSVGPathSegCurvetoQuadraticSmoothRel.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A2B0ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticSmoothRel.h */; };
                A8F46AAA0CB20A9D003A9670 /* DOMSVGFEDisplacementMapElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8502AB1E0AD438C000378540 /* DOMSVGFEDisplacementMapElement.h */; };
                A8F46AAB0CB20A9D003A9670 /* DOMSVGPathSegArcAbsInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 850120550ADABCD900267125 /* DOMSVGPathSegArcAbsInternal.h */; };
-               A8F46AAC0CB20A9D003A9670 /* DOMSVGAngle.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 854163690AC7180B0001E01B /* DOMSVGAngle.h */; };
                A8F46AAD0CB20A9D003A9670 /* DOMSVGPathSegLinetoHorizontalRelInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A670ADAC4C5003BBDEA /* DOMSVGPathSegLinetoHorizontalRelInternal.h */; };
                A8F46AAE0CB20A9D003A9670 /* DOMSVGImageElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2EE0AD7E90300FBFF1E /* DOMSVGImageElement.h */; };
                A8F46AAF0CB20A9D003A9670 /* DOMSVGAnimatedNumberList.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8502AB6C0AD438E600378540 /* DOMSVGAnimatedNumberList.h */; };
                A8F46AD70CB20A9D003A9670 /* DOMSVGPatternElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62C70AD8892700012995 /* DOMSVGPatternElementInternal.h */; };
                A8F46AD80CB20A9D003A9670 /* DOMSVGPolygonElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62C90AD8892700012995 /* DOMSVGPolygonElementInternal.h */; };
                A8F46AD90CB20A9D003A9670 /* DOMSVGSwitchElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62830AD888EE00012995 /* DOMSVGSwitchElement.h */; };
-               A8F46ADA0CB20A9D003A9670 /* DOMSVGLineElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85C9A2FD0AD7E94200FBFF1E /* DOMSVGLineElement.h */; };
                A8F46ADB0CB20A9D003A9670 /* DOMSVGLengthInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 854163950AC718680001E01B /* DOMSVGLengthInternal.h */; };
-               A8F46ADC0CB20A9D003A9670 /* DOMSVGPathSegCurvetoQuadraticAbs.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A250ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticAbs.h */; };
                A8F46ADD0CB20A9D003A9670 /* DOMSVGSetElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62CE0AD8892700012995 /* DOMSVGSetElementInternal.h */; };
                A8F46ADE0CB20A9D003A9670 /* DOMSVGSVGElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1AA00ADAC752003BBDEA /* DOMSVGSVGElementInternal.h */; };
                A8F46ADF0CB20A9D003A9670 /* DOMSVGUseElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62D90AD8892700012995 /* DOMSVGUseElementInternal.h */; };
                A8F46AFD0CB20A9D003A9670 /* DOMSVGZoomAndPan.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62990AD888EF00012995 /* DOMSVGZoomAndPan.h */; };
                A8F46AFE0CB20A9D003A9670 /* DOMSVGPolygonElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 859D62750AD888EE00012995 /* DOMSVGPolygonElement.h */; };
                A8F46AFF0CB20A9D003A9670 /* DOMSVGPoint.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 854074FA0AD6C22E00620C57 /* DOMSVGPoint.h */; };
-               A8F46B000CB20A9D003A9670 /* DOMSVGPathSegLinetoAbs.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CE1A2D0ADAC473003BBDEA /* DOMSVGPathSegLinetoAbs.h */; };
                A8F46B010CB20A9D003A9670 /* DOMSVGTransform.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8541635D0AC7180B0001E01B /* DOMSVGTransform.h */; };
                A8F46B020CB20A9D003A9670 /* DOMSVGAnimatedBooleanInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 850FD20B0AC9C86A00123D0D /* DOMSVGAnimatedBooleanInternal.h */; };
                A8F46B030CB20A9D003A9670 /* DOMSVGAnimatedBoolean.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 850FD1D90AC9C84200123D0D /* DOMSVGAnimatedBoolean.h */; };
                        dstPath = Versions/A/PrivateHeaders;
                        dstSubfolderSpec = 1;
                        files = (
+                               A80F3A2D0CCD9D5A002DD990 /* DOMSVGDefinitionSrcElementInternal.h in Copy Generated Headers */,
+                               A80F3A2E0CCD9D5A002DD990 /* DOMSVGDefinitionSrcElement.h in Copy Generated Headers */,
+                               A80F3A850CCDA38D002DD990 /* DOMSVGFontFaceUriElementInternal.h in Copy Generated Headers */,
+                               A80F3A860CCDA38D002DD990 /* DOMSVGFontFaceFormatElementInternal.h in Copy Generated Headers */,
+                               A80F3A870CCDA38D002DD990 /* DOMSVGFontFaceNameElementInternal.h in Copy Generated Headers */,
+                               A80F3A880CCDA38D002DD990 /* DOMSVGFontFaceElementInternal.h in Copy Generated Headers */,
+                               A80F3A890CCDA38D002DD990 /* DOMSVGFontFaceFormatElement.h in Copy Generated Headers */,
+                               A80F3A8A0CCDA38D002DD990 /* DOMSVGFontFaceNameElement.h in Copy Generated Headers */,
+                               A80F3A8B0CCDA38D002DD990 /* DOMSVGFontFaceElement.h in Copy Generated Headers */,
+                               A80F3A8C0CCDA38D002DD990 /* DOMSVGFontFaceSrcElementInternal.h in Copy Generated Headers */,
+                               A80F3A8D0CCDA38D002DD990 /* DOMSVGFontFaceUriElement.h in Copy Generated Headers */,
+                               A80F3A8E0CCDA38D002DD990 /* DOMSVGFontFaceSrcElement.h in Copy Generated Headers */,
                                A8F46A840CB20A9D003A9670 /* DOMSVGClipPathElement.h in Copy Generated Headers */,
                                A8F46A850CB20A9D003A9670 /* DOMSVGElementInstanceListInternal.h in Copy Generated Headers */,
                                A8F46A860CB20A9D003A9670 /* DOMSVGFESpecularLightingElementInternal.h in Copy Generated Headers */,
-                               A8F46A870CB20A9D003A9670 /* DOMSVGFETurbulenceElement.h in Copy Generated Headers */,
                                A8F46A880CB20A9D003A9670 /* DOMSVGGradientElement.h in Copy Generated Headers */,
                                A8F46A890CB20A9D003A9670 /* DOMSVGAnimateColorElement.h in Copy Generated Headers */,
                                A8F46A8A0CB20A9D003A9670 /* DOMSVGForeignObjectElementInternal.h in Copy Generated Headers */,
                                A8F46A930CB20A9D003A9670 /* DOMSVGZoomEvent.h in Copy Generated Headers */,
                                A8F46A940CB20A9D003A9670 /* DOMSVGPathSegLinetoVerticalRel.h in Copy Generated Headers */,
                                A8F46A950CB20A9D003A9670 /* DOMSVGAnimatedAngle.h in Copy Generated Headers */,
-                               A8F46A960CB20A9D003A9670 /* DOMSVGAnimatedPoints.h in Copy Generated Headers */,
                                A8F46A970CB20A9D003A9670 /* DOMSVGPathSegCurvetoCubicAbsInternal.h in Copy Generated Headers */,
                                A8F46A980CB20A9D003A9670 /* DOMSVGSVGElement.h in Copy Generated Headers */,
                                A8F46A990CB20A9D003A9670 /* DOMSVGFEColorMatrixElement.h in Copy Generated Headers */,
                                A8F46AA90CB20A9D003A9670 /* DOMSVGPathSegCurvetoQuadraticSmoothRel.h in Copy Generated Headers */,
                                A8F46AAA0CB20A9D003A9670 /* DOMSVGFEDisplacementMapElement.h in Copy Generated Headers */,
                                A8F46AAB0CB20A9D003A9670 /* DOMSVGPathSegArcAbsInternal.h in Copy Generated Headers */,
-                               A8F46AAC0CB20A9D003A9670 /* DOMSVGAngle.h in Copy Generated Headers */,
                                A8F46AAD0CB20A9D003A9670 /* DOMSVGPathSegLinetoHorizontalRelInternal.h in Copy Generated Headers */,
                                A8F46AAE0CB20A9D003A9670 /* DOMSVGImageElement.h in Copy Generated Headers */,
                                A8F46AAF0CB20A9D003A9670 /* DOMSVGAnimatedNumberList.h in Copy Generated Headers */,
                                A8F46AD70CB20A9D003A9670 /* DOMSVGPatternElementInternal.h in Copy Generated Headers */,
                                A8F46AD80CB20A9D003A9670 /* DOMSVGPolygonElementInternal.h in Copy Generated Headers */,
                                A8F46AD90CB20A9D003A9670 /* DOMSVGSwitchElement.h in Copy Generated Headers */,
-                               A8F46ADA0CB20A9D003A9670 /* DOMSVGLineElement.h in Copy Generated Headers */,
                                A8F46ADB0CB20A9D003A9670 /* DOMSVGLengthInternal.h in Copy Generated Headers */,
-                               A8F46ADC0CB20A9D003A9670 /* DOMSVGPathSegCurvetoQuadraticAbs.h in Copy Generated Headers */,
                                A8F46ADD0CB20A9D003A9670 /* DOMSVGSetElementInternal.h in Copy Generated Headers */,
                                A8F46ADE0CB20A9D003A9670 /* DOMSVGSVGElementInternal.h in Copy Generated Headers */,
                                A8F46ADF0CB20A9D003A9670 /* DOMSVGUseElementInternal.h in Copy Generated Headers */,
                                A8F46AFD0CB20A9D003A9670 /* DOMSVGZoomAndPan.h in Copy Generated Headers */,
                                A8F46AFE0CB20A9D003A9670 /* DOMSVGPolygonElement.h in Copy Generated Headers */,
                                A8F46AFF0CB20A9D003A9670 /* DOMSVGPoint.h in Copy Generated Headers */,
-                               A8F46B000CB20A9D003A9670 /* DOMSVGPathSegLinetoAbs.h in Copy Generated Headers */,
                                A8F46B010CB20A9D003A9670 /* DOMSVGTransform.h in Copy Generated Headers */,
                                A8F46B020CB20A9D003A9670 /* DOMSVGAnimatedBooleanInternal.h in Copy Generated Headers */,
                                A8F46B030CB20A9D003A9670 /* DOMSVGAnimatedBoolean.h in Copy Generated Headers */,
                A80E7E940A1A83E3007FB8C5 /* JSHTMLTextAreaElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLTextAreaElement.cpp; sourceTree = "<group>"; };
                A80E7E950A1A83E3007FB8C5 /* JSHTMLButtonElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLButtonElement.h; sourceTree = "<group>"; };
                A80E7E960A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLButtonElement.cpp; sourceTree = "<group>"; };
+               A80F393B0CCD971A002DD990 /* JSSVGDefinitionSrcElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSSVGDefinitionSrcElement.h; sourceTree = "<group>"; };
+               A80F393C0CCD971A002DD990 /* JSSVGDefinitionSrcElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGDefinitionSrcElement.cpp; sourceTree = "<group>"; };
+               A80F39550CCD9796002DD990 /* DOMSVGDefinitionSrcElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGDefinitionSrcElementInternal.h; sourceTree = "<group>"; };
+               A80F39560CCD9796002DD990 /* DOMSVGDefinitionSrcElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGDefinitionSrcElement.mm; sourceTree = "<group>"; };
+               A80F39570CCD9796002DD990 /* DOMSVGDefinitionSrcElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGDefinitionSrcElement.h; sourceTree = "<group>"; };
                A81369AE097374F500D74463 /* HTMLIsIndexElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HTMLIsIndexElement.h; sourceTree = "<group>"; };
                A81369AF097374F500D74463 /* HTMLIsIndexElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLIsIndexElement.cpp; sourceTree = "<group>"; };
                A81369B0097374F500D74463 /* HTMLInputElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HTMLInputElement.h; sourceTree = "<group>"; };
                                85ACEF740ACDCFCE001214FF /* DOMSVGAElement.h */,
                                85ACEF750ACDCFCE001214FF /* DOMSVGAElement.mm */,
                                A8E544150CA9D1C10097D09B /* DOMSVGAElementInternal.h */,
-                               A8E544140CA9D1C10097D09B /* DOMSVGAngle.h */,
+                               854163690AC7180B0001E01B /* DOMSVGAngle.h */,
                                854163680AC7180B0001E01B /* DOMSVGAngle.mm */,
                                A8E544130CA9D1C10097D09B /* DOMSVGAngleInternal.h */,
                                850361280ACE007B001F3D9E /* DOMSVGAnimateColorElement.h */,
                                8502AB6D0AD438E600378540 /* DOMSVGAnimatedNumberList.mm */,
                                A8E544B10CA9D1C20097D09B /* DOMSVGAnimatedNumberListInternal.h */,
                                A8E544B00CA9D1C20097D09B /* DOMSVGAnimatedPathData.h */,
-                               A8E544AF0CA9D1C20097D09B /* DOMSVGAnimatedPoints.h */,
+                               85ACEF070ACDCCCF001214FF /* DOMSVGAnimatedPoints.h */,
                                85ACEF080ACDCCCF001214FF /* DOMSVGAnimatedPreserveAspectRatio.h */,
                                85ACEF090ACDCCCF001214FF /* DOMSVGAnimatedPreserveAspectRatio.mm */,
                                A8E544AD0CA9D1C20097D09B /* DOMSVGAnimatedPreserveAspectRatioInternal.h */,
                                850361300ACE007C001F3D9E /* DOMSVGCursorElement.h */,
                                850361310ACE007C001F3D9E /* DOMSVGCursorElement.mm */,
                                A8E544970CA9D1C20097D09B /* DOMSVGCursorElementInternal.h */,
+                               A80F39570CCD9796002DD990 /* DOMSVGDefinitionSrcElement.h */,
+                               A80F39560CCD9796002DD990 /* DOMSVGDefinitionSrcElement.mm */,
+                               A80F39550CCD9796002DD990 /* DOMSVGDefinitionSrcElementInternal.h */,
                                85004D880ACEEAEF00C438F6 /* DOMSVGDefsElement.h */,
                                85004D890ACEEAEF00C438F6 /* DOMSVGDefsElement.mm */,
                                A8E544950CA9D1C20097D09B /* DOMSVGDefsElementInternal.h */,
                                8502AB3C0AD438C000378540 /* DOMSVGFETileElement.h */,
                                8502AB3D0AD438C000378540 /* DOMSVGFETileElement.mm */,
                                A8E544550CA9D1C20097D09B /* DOMSVGFETileElementInternal.h */,
-                               A8E544740CA9D1C20097D09B /* DOMSVGFETurbulenceElement.h */,
+                               8502AB3E0AD438C000378540 /* DOMSVGFETurbulenceElement.h */,
                                8502AB3F0AD438C000378540 /* DOMSVGFETurbulenceElement.mm */,
                                A8E544640CA9D1C20097D09B /* DOMSVGFETurbulenceElementInternal.h */,
                                A8E544540CA9D1C20097D09B /* DOMSVGFilterElement.h */,
                                85C9A2FB0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.h */,
                                85C9A2FC0AD7E94200FBFF1E /* DOMSVGLinearGradientElement.mm */,
                                A8E544440CA9D1C10097D09B /* DOMSVGLinearGradientElementInternal.h */,
-                               A8E544580CA9D1C20097D09B /* DOMSVGLineElement.h */,
+                               85C9A2FD0AD7E94200FBFF1E /* DOMSVGLineElement.h */,
                                85C9A2FE0AD7E94200FBFF1E /* DOMSVGLineElement.mm */,
                                A8E544430CA9D1C10097D09B /* DOMSVGLineElementInternal.h */,
                                A8E544420CA9D1C10097D09B /* DOMSVGLocatable.h */,
                                85CE1A230ADAC473003BBDEA /* DOMSVGPathSegCurvetoCubicSmoothRel.h */,
                                85CE1A240ADAC473003BBDEA /* DOMSVGPathSegCurvetoCubicSmoothRel.mm */,
                                A8E544220CA9D1C10097D09B /* DOMSVGPathSegCurvetoCubicSmoothRelInternal.h */,
-                               A8E544210CA9D1C10097D09B /* DOMSVGPathSegCurvetoQuadraticAbs.h */,
+                               85CE1A250ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticAbs.h */,
                                85CE1A260ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticAbs.mm */,
                                A8E544200CA9D1C10097D09B /* DOMSVGPathSegCurvetoQuadraticAbsInternal.h */,
                                85CE1A270ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticRel.h */,
                                85CE1A2C0ADAC473003BBDEA /* DOMSVGPathSegCurvetoQuadraticSmoothRel.mm */,
                                A8E5441C0CA9D1C10097D09B /* DOMSVGPathSegCurvetoQuadraticSmoothRelInternal.h */,
                                A8E5441B0CA9D1C10097D09B /* DOMSVGPathSegInternal.h */,
-                               A8E5442C0CA9D1C10097D09B /* DOMSVGPathSegLinetoAbs.h */,
+                               85CE1A2D0ADAC473003BBDEA /* DOMSVGPathSegLinetoAbs.h */,
                                85CE1A2E0ADAC473003BBDEA /* DOMSVGPathSegLinetoAbs.mm */,
                                A8E544190CA9D1C10097D09B /* DOMSVGPathSegLinetoAbsInternal.h */,
                                85CE1A2F0ADAC473003BBDEA /* DOMSVGPathSegLinetoHorizontalAbs.h */,
                                85CE1A310ADAC473003BBDEA /* DOMSVGPathSegLinetoHorizontalRel.h */,
                                85CE1A320ADAC473003BBDEA /* DOMSVGPathSegLinetoHorizontalRel.mm */,
                                A8E5440C0CA9D1C10097D09B /* DOMSVGPathSegLinetoHorizontalRelInternal.h */,
-                               85ACEF740ACDCFCE001214FF /* DOMSVGAElement.h */,
                                85CE1A330ADAC473003BBDEA /* DOMSVGPathSegLinetoRel.h */,
+                               85ACEF740ACDCFCE001214FF /* DOMSVGAElement.h */,
                                85CE1A340ADAC473003BBDEA /* DOMSVGPathSegLinetoRel.mm */,
                                A8E5441A0CA9D1C10097D09B /* DOMSVGPathSegLinetoRelInternal.h */,
                                85CE1A350ADAC473003BBDEA /* DOMSVGPathSegLinetoVerticalAbs.h */,
                                B2FA3C770AB75A6E000E5AC4 /* JSSVGComponentTransferFunctionElement.h */,
                                B2FA3C780AB75A6E000E5AC4 /* JSSVGCursorElement.cpp */,
                                B2FA3C790AB75A6E000E5AC4 /* JSSVGCursorElement.h */,
+                               A80F393C0CCD971A002DD990 /* JSSVGDefinitionSrcElement.cpp */,
+                               A80F393B0CCD971A002DD990 /* JSSVGDefinitionSrcElement.h */,
                                B2FA3C7A0AB75A6E000E5AC4 /* JSSVGDefsElement.cpp */,
                                B2FA3C7B0AB75A6E000E5AC4 /* JSSVGDefsElement.h */,
                                B2FA3C7C0AB75A6E000E5AC4 /* JSSVGDescElement.cpp */,
                                A8D0C60A0CCB462A00B2CDD4 /* DOMSVGFEGaussianBlurElement.h in Headers */,
                                A8D0C60F0CCB463500B2CDD4 /* DOMSVGLength.h in Headers */,
                                A8D0C61A0CCB466400B2CDD4 /* DOMSVGFEFuncAElement.h in Headers */,
+                               A80F393D0CCD971A002DD990 /* JSSVGDefinitionSrcElement.h in Headers */,
+                               A80F39580CCD9796002DD990 /* DOMSVGDefinitionSrcElementInternal.h in Headers */,
+                               A80F395A0CCD9796002DD990 /* DOMSVGDefinitionSrcElement.h in Headers */,
+                               A80F3A500CCDA2A2002DD990 /* DOMSVGFETurbulenceElement.h in Headers */,
+                               A80F3A5A0CCDA2ED002DD990 /* DOMSVGAnimatedPoints.h in Headers */,
+                               A80F3A640CCDA2FC002DD990 /* DOMSVGLineElement.h in Headers */,
+                               A80F3A6B0CCDA30A002DD990 /* DOMSVGPathSegLinetoAbs.h in Headers */,
+                               A80F3A750CCDA318002DD990 /* DOMSVGPathSegCurvetoQuadraticAbs.h in Headers */,
+                               A80F3A7D0CCDA324002DD990 /* DOMSVGAngle.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                A83B79500CCB0125000B0825 /* DOMSVGFontFaceNameElement.mm in Sources */,
                                A83B79530CCB0125000B0825 /* DOMSVGFontFaceFormatElement.mm in Sources */,
                                A83B79560CCB0125000B0825 /* DOMSVGFontFaceElement.mm in Sources */,
+                               A80F393E0CCD971A002DD990 /* JSSVGDefinitionSrcElement.cpp in Sources */,
+                               A80F39590CCD9796002DD990 /* DOMSVGDefinitionSrcElement.mm in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 40bbd02..3cbea28 100644 (file)
@@ -30,6 +30,7 @@
 #include "JSSVGClipPathElement.h"
 #include "JSSVGCursorElement.h"
 #include "JSSVGDefsElement.h"
+#include "JSSVGDefinitionSrcElement.h"
 #include "JSSVGDescElement.h"
 #include "JSSVGEllipseElement.h"
 #include "JSSVGFEBlendElement.h"
 #include "SVGClipPathElement.h"
 #include "SVGCursorElement.h"
 #include "SVGDefsElement.h"
+#include "SVGDefinitionSrcElement.h"
 #include "SVGDescElement.h"
 #include "SVGEllipseElement.h"
 #include "SVGFEBlendElement.h"
@@ -177,6 +179,7 @@ typedef JSNode* (*CreateSVGElementWrapperFunction)(ExecState*, PassRefPtr<SVGEle
     macro(circle, Circle) \
     macro(clipPath, ClipPath) \
     macro(cursor, Cursor) \
+    macro(definition_src, DefinitionSrc) \
     macro(defs, Defs) \
     macro(desc, Desc) \
     macro(ellipse, Ellipse) \
index 7763702..206448e 100644 (file)
@@ -71,6 +71,7 @@
 #import "SVGDocument.h"
 #import "SVGElement.h"
 #import "SVGNames.h"
+#import "DOMSVG.h"
 #endif
 
 namespace WebCore {
@@ -195,6 +196,7 @@ static void createElementClassMap()
     addElementClass(SVGNames::circleTag, [DOMSVGCircleElement class]);
     addElementClass(SVGNames::clipPathTag, [DOMSVGClipPathElement class]);
     addElementClass(SVGNames::cursorTag, [DOMSVGCursorElement class]);
+    addElementClass(SVGNames::definition_srcTag, [DOMSVGDefinitionSrcElement class]);
     addElementClass(SVGNames::defsTag, [DOMSVGDefsElement class]);
     addElementClass(SVGNames::descTag, [DOMSVGDescElement class]);
     addElementClass(SVGNames::ellipseTag, [DOMSVGEllipseElement class]);
@@ -223,7 +225,11 @@ static void createElementClassMap()
     addElementClass(SVGNames::feTurbulenceTag, [DOMSVGFETurbulenceElement class]);
     addElementClass(SVGNames::filterTag, [DOMSVGFilterElement class]);
 #endif
-    addElementClass(SVGNames::foreignObjectTag, [DOMSVGForeignObjectElement class]);
+    addElementClass(SVGNames::font_faceTag, [DOMSVGFontFaceElement class]);
+    addElementClass(SVGNames::font_face_formatTag, [DOMSVGFontFaceFormatElement class]);
+    addElementClass(SVGNames::font_face_nameTag, [DOMSVGFontFaceNameElement class]);
+    addElementClass(SVGNames::font_face_srcTag, [DOMSVGFontFaceSrcElement class]);
+    addElementClass(SVGNames::font_face_uriTag, [DOMSVGFontFaceUriElement class]);
     addElementClass(SVGNames::gTag, [DOMSVGGElement class]);
     addElementClass(SVGNames::imageTag, [DOMSVGImageElement class]);
     addElementClass(SVGNames::lineTag, [DOMSVGLineElement class]);
index 1a7a8fc..e84ee14 100644 (file)
@@ -49,6 +49,7 @@
 #import <WebCore/DOMSVGColor.h>
 #import <WebCore/DOMSVGComponentTransferFunctionElement.h>
 #import <WebCore/DOMSVGCursorElement.h>
+#import <WebCore/DOMSVGDefinitionSrcElement.h>
 #import <WebCore/DOMSVGDefsElement.h>
 #import <WebCore/DOMSVGDescElement.h>
 #import <WebCore/DOMSVGDocument.h>
 #import <WebCore/DOMSVGFilterElement.h>
 #import <WebCore/DOMSVGFilterPrimitiveStandardAttributes.h>
 #import <WebCore/DOMSVGFitToViewBox.h>
+#import <WebCore/DOMSVGFontFaceElement.h>
+#import <WebCore/DOMSVGFontFaceFormatElement.h>
+#import <WebCore/DOMSVGFontFaceNameElement.h>
+#import <WebCore/DOMSVGFontFaceSrcElement.h>
+#import <WebCore/DOMSVGFontFaceUriElement.h>
 #import <WebCore/DOMSVGForeignObjectElement.h>
 #import <WebCore/DOMSVGGElement.h>
 #import <WebCore/DOMSVGGradientElement.h>
index 3f52fa0..f91b505 100644 (file)
@@ -25,7 +25,7 @@
 
 module svg {
 
-    interface [Conditional=SVG] SVGDefinitionSrcElement : {
+    interface [Conditional=SVG] SVGDefinitionSrcElement : SVGElement {
     };
 
 }
index 5ec8fd3..16df487 100644 (file)
@@ -1,3 +1,9 @@
+2007-10-22  Eric Seidel  <eric@webkit.org>
+
+        Reviewed by Maciej.
+
+        * MigrateHeaders.make: copy over font-face related DOM headers
+
 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
 
         Reviewed by Mark Rowe.
index b836679..a61828f 100644 (file)
@@ -256,6 +256,8 @@ all : \
     $(INTERNAL_HEADERS_DIR)/DOMSVGCursorElementInternal.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGDefsElement.h \
     $(INTERNAL_HEADERS_DIR)/DOMSVGDefsElementInternal.h \
+    $(PRIVATE_HEADERS_DIR)/DOMSVGDefinitionSrcElement.h \
+    $(INTERNAL_HEADERS_DIR)/DOMSVGDefinitionSrcElementInternal.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGDescElement.h \
     $(INTERNAL_HEADERS_DIR)/DOMSVGDescElementInternal.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGDocument.h \
@@ -318,6 +320,16 @@ all : \
     $(INTERNAL_HEADERS_DIR)/DOMSVGFilterElementInternal.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGFilterPrimitiveStandardAttributes.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGFitToViewBox.h \
+    $(PRIVATE_HEADERS_DIR)/DOMSVGFontFaceElement.h \
+    $(INTERNAL_HEADERS_DIR)/DOMSVGFontFaceElementInternal.h \
+    $(PRIVATE_HEADERS_DIR)/DOMSVGFontFaceFormatElement.h \
+    $(INTERNAL_HEADERS_DIR)/DOMSVGFontFaceFormatElementInternal.h \
+    $(PRIVATE_HEADERS_DIR)/DOMSVGFontFaceNameElement.h \
+    $(INTERNAL_HEADERS_DIR)/DOMSVGFontFaceNameElementInternal.h \
+    $(PRIVATE_HEADERS_DIR)/DOMSVGFontFaceSrcElement.h \
+    $(INTERNAL_HEADERS_DIR)/DOMSVGFontFaceSrcElementInternal.h \
+    $(PRIVATE_HEADERS_DIR)/DOMSVGFontFaceUriElement.h \
+    $(INTERNAL_HEADERS_DIR)/DOMSVGFontFaceUriElementInternal.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGForeignObjectElement.h \
     $(INTERNAL_HEADERS_DIR)/DOMSVGForeignObjectElementInternal.h \
     $(PRIVATE_HEADERS_DIR)/DOMSVGGElement.h \