2007-01-15 Eric Seidel <eric@webkit.org>
Reviewed by hyatt. Fix SVGStyledElement::parseMappedAttribute to only map SVG-allowed CSS properties (i.e. width is no longer mapped to CSS for SVG) Add SVGStyledElement::mapToEntry to allow RenderStyle-sharing http://bugs.webkit.org/show_bug.cgi?id=12060 * dom/MappedAttributeEntry.h: (WebCore::): * ksvg2/svg/SVGStyledElement.cpp: (WebCore::cssPropertyIdForName): new helper (WebCore::mapAttributeToCSSProperty): new helper (WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName): new helper (WebCore::SVGStyledElement::mapToEntry): added. (WebCore::SVGStyledElement::parseMappedAttribute): use cssPropertyIdForSVGAttributeName * ksvg2/svg/SVGStyledElement.h: git-svn-id: svn://svn.chromium.org/blink/trunk@18876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment