Reviewed by Nikolas Zimmermann.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 22:15:45 +0000 (22:15 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 22:15:45 +0000 (22:15 +0000)
commita369668b369e6ed1940e1076773e5578492255b5
treee4d280bf2ba5dc44db5bc5b9dad3109bdff39892
parent2657dff27c40c44033a5bfbb831ebe767b2b527b
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@92419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
38 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/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