| Index: LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js
|
| diff --git a/LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js b/LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js
|
| index 243b56d6f17fe8f3ab17fe71dd31da2d3454d111..ca1ac71c0381d3a6c9892578d6d3d4e8cf6cb73c 100644
|
| --- a/LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js
|
| +++ b/LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js
|
| @@ -11,7 +11,7 @@ debug("");
|
| debug("Check initial SVGSVGElement.currentView values on a SVGSVGElement");
|
| shouldBe("currentView.transform.numberOfItems", "0");
|
| shouldBeNull("currentView.viewTarget");
|
| -shouldBe("currentView.zoomAndPan", "SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY");
|
| +shouldBe("currentView.zoomAndPan", "SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY");
|
| shouldBe("currentView.viewBox.baseVal.x", "0");
|
| shouldBe("currentView.viewBox.baseVal.y", "0");
|
| shouldBe("currentView.viewBox.baseVal.width", "0");
|
| @@ -22,12 +22,12 @@ shouldBeEqualToString("currentView.viewBoxString", "0 0 0 0");
|
| shouldBeEqualToString("currentView.preserveAspectRatioString", "xMidYMid meet");
|
| shouldBeEqualToString("currentView.transformString", "");
|
| shouldBeEqualToString("currentView.viewTargetString", "");
|
| -shouldBe("currentView.zoomAndPan", "SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY");
|
| +shouldBe("currentView.zoomAndPan", "SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY");
|
|
|
| debug("");
|
| -debug("Try changing zoomAndPan - none of these will work, as SVGViewSpec is fully readonly - even the animated properties it inherits from parent classes like SVGZoomAndPan/SVGFitToViewBox");
|
| -shouldThrow("currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE");
|
| -shouldBe("currentView.zoomAndPan", "SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY");
|
| +debug("Try changing zoomAndPan - none of these will work, as SVGViewSpec is fully readonly - even the animated properties it inherits from supplmental classes like SVGViewElement/SVGFitToViewBox");
|
| +shouldThrow("currentView.zoomAndPan = SVGViewElement.SVG_ZOOMANDPAN_DISABLE");
|
| +shouldBe("currentView.zoomAndPan", "SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY");
|
|
|
| debug("");
|
| debug("Try changing viewBox - this has no affect on the SVGSVGElement the viewSpec belongs to - it exposed all its properties as read-only");
|
|
|