Reviewed by Nikolas Zimmermann.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 22:46:30 +0000 (22:46 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 22:46:30 +0000 (22:46 +0000)
commitd3797f760b9e8f3be4c7e05f1a10cd4fd5e6da50
treec089c13a008012547bb3919bf55051f8299f145e
parent27c655b1e79d7d6f16077b408281af780a43674a
Reviewed by Nikolas Zimmermann.

Errors encountered within SVG documents should be reported to the console
https://bugs.webkit.org/show_bug.cgi?id=62599
<rdar://problem/9727074>

Make use of SVGLength::construct when parsing Length attributes; we will
now propagate errors which occur while parsing SVGLength attributes to the
Web Inspector console.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
39 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/chromium-win/svg/hixie/error/013-expected.txt
LayoutTests/platform/gtk/svg/hixie/error/001-expected.txt
LayoutTests/platform/gtk/svg/hixie/error/007-expected.txt
LayoutTests/platform/gtk/svg/hixie/error/013-expected.txt
LayoutTests/platform/gtk/svg/hixie/error/015-expected.txt
LayoutTests/platform/mac/svg/hixie/error/001-expected.txt
LayoutTests/platform/mac/svg/hixie/error/007-expected.txt
LayoutTests/platform/mac/svg/hixie/error/013-expected.txt
LayoutTests/platform/mac/svg/hixie/error/015-expected.txt
LayoutTests/platform/qt/svg/hixie/error/001-expected.txt
LayoutTests/platform/qt/svg/hixie/error/007-expected.txt
LayoutTests/platform/qt/svg/hixie/error/013-expected.txt
LayoutTests/platform/qt/svg/hixie/error/015-expected.txt
LayoutTests/svg/custom/invalid-length-units-expected.txt
LayoutTests/svg/custom/svg-parse-overflow-1-expected.txt
LayoutTests/svg/custom/svg-parse-overflow-2-expected.txt
LayoutTests/svg/custom/svg-parse-overflow-3-expected.txt
LayoutTests/svg/custom/svg-parse-overflow-4-expected.txt
LayoutTests/svg/custom/svg-parse-overflow-5-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGCircleElement.cpp
Source/WebCore/svg/SVGCursorElement.cpp
Source/WebCore/svg/SVGEllipseElement.cpp
Source/WebCore/svg/SVGFilterElement.cpp
Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp
Source/WebCore/svg/SVGForeignObjectElement.cpp
Source/WebCore/svg/SVGImageElement.cpp
Source/WebCore/svg/SVGLineElement.cpp
Source/WebCore/svg/SVGLinearGradientElement.cpp
Source/WebCore/svg/SVGMarkerElement.cpp
Source/WebCore/svg/SVGMaskElement.cpp
Source/WebCore/svg/SVGPatternElement.cpp
Source/WebCore/svg/SVGRadialGradientElement.cpp
Source/WebCore/svg/SVGRectElement.cpp
Source/WebCore/svg/SVGSVGElement.cpp
Source/WebCore/svg/SVGTextContentElement.cpp
Source/WebCore/svg/SVGTextPathElement.cpp
Source/WebCore/svg/SVGUseElement.cpp