summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authorolehougaard@google.com <olehougaard@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-15 13:06:37 +0000
committerolehougaard@google.com <olehougaard@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-15 13:06:37 +0000
commitdb5e9e77c62b4683b7a5b790aea1b996a1208727 (patch)
treea9d50ce32dbdf60c37780e2139b7de26958379c3 /webkit/port
parent51fcbab1bcd1995b4c5c13dc371200ad557a5cfb (diff)
downloadchromium_src-db5e9e77c62b4683b7a5b790aea1b996a1208727.zip
chromium_src-db5e9e77c62b4683b7a5b790aea1b996a1208727.tar.gz
chromium_src-db5e9e77c62b4683b7a5b790aea1b996a1208727.tar.bz2
Fixing a layout test by introducing support for SVG tags altGlyph and glyph.
Review URL: http://codereview.chromium.org/7347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/DerivedSources.make1
-rw-r--r--webkit/port/bindings/v8/v8_index.cpp2
-rw-r--r--webkit/port/bindings/v8/v8_index.h2
-rw-r--r--webkit/port/bindings/v8/v8_proxy.cpp2
4 files changed, 7 insertions, 0 deletions
diff --git a/webkit/port/DerivedSources.make b/webkit/port/DerivedSources.make
index 870d73e..fd96f68 100644
--- a/webkit/port/DerivedSources.make
+++ b/webkit/port/DerivedSources.make
@@ -749,6 +749,7 @@ all : \
V8RangeException.h \
V8Rect.h \
V8SVGAElement.h \
+ V8SVGAltGlyphElement.h \
V8SVGAngle.h \
V8SVGAnimatedAngle.h \
V8SVGAnimateColorElement.h \
diff --git a/webkit/port/bindings/v8/v8_index.cpp b/webkit/port/bindings/v8/v8_index.cpp
index da59756..902ebfb 100644
--- a/webkit/port/bindings/v8/v8_index.cpp
+++ b/webkit/port/bindings/v8/v8_index.cpp
@@ -247,6 +247,7 @@
#if ENABLE(SVG)
#include "V8SVGAElement.h"
+#include "V8SVGAltGlyphElement.h"
#include "V8SVGCircleElement.h"
#include "V8SVGClipPathElement.h"
#include "V8SVGCursorElement.h"
@@ -256,6 +257,7 @@
#include "V8SVGEllipseElement.h"
#include "V8SVGException.h"
#include "V8SVGGElement.h"
+#include "V8SVGGlyphElement.h"
#include "V8SVGGradientElement.h"
#include "V8SVGImageElement.h"
#include "V8SVGLinearGradientElement.h"
diff --git a/webkit/port/bindings/v8/v8_index.h b/webkit/port/bindings/v8/v8_index.h
index 4be3f1bf9..28c59d8 100644
--- a/webkit/port/bindings/v8/v8_index.h
+++ b/webkit/port/bindings/v8/v8_index.h
@@ -169,6 +169,7 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
SVG_FOREIGN_OBJECT_ELEMENT_TYPES(V) \
SVG_USE_ELEMENT_TYPES(V) \
V(SVGAELEMENT, SVGAElement) \
+ V(SVGALTGLYPHELEMENT, SVGAltGlyphElement) \
V(SVGCIRCLEELEMENT, SVGCircleElement) \
V(SVGCLIPPATHELEMENT, SVGClipPathElement) \
V(SVGCURSORELEMENT, SVGCursorElement) \
@@ -176,6 +177,7 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)();
V(SVGDESCELEMENT, SVGDescElement) \
V(SVGELLIPSEELEMENT, SVGEllipseElement) \
V(SVGGELEMENT, SVGGElement) \
+ V(SVGGLYPHELEMENT, SVGGlyphElement) \
V(SVGGRADIENTELEMENT, SVGGradientElement) \
V(SVGIMAGEELEMENT, SVGImageElement) \
V(SVGLINEARGRADIENTELEMENT, SVGLinearGradientElement) \
diff --git a/webkit/port/bindings/v8/v8_proxy.cpp b/webkit/port/bindings/v8/v8_proxy.cpp
index 2d4109a..df82d3b 100644
--- a/webkit/port/bindings/v8/v8_proxy.cpp
+++ b/webkit/port/bindings/v8/v8_proxy.cpp
@@ -2252,6 +2252,7 @@ FOR_EACH_TAG(ADD_TO_HASH_MAP)
FOR_EACH_FOREIGN_OBJECT_TAG(macro) \
FOR_EACH_USE_TAG(macro) \
macro(a, A) \
+ macro(altGlyph, ALTGLYPH) \
macro(circle, CIRCLE) \
macro(clipPath, CLIPPATH) \
macro(cursor, CURSOR) \
@@ -2259,6 +2260,7 @@ FOR_EACH_TAG(ADD_TO_HASH_MAP)
macro(desc, DESC) \
macro(ellipse, ELLIPSE) \
macro(g, G) \
+ macro(glyph, GLYPH) \
macro(image, IMAGE) \
macro(linearGradient, LINEARGRADIENT) \
macro(line, LINE) \