Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: LayoutTests/svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterRes-attr.js

Issue 1153403003: Remove SVGFilterElement's filterRes* attributes and setFilterRes() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase + updated smallFonts.svg and textFeatures.svg Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterRes-attr.js
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterRes-attr.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterRes-attr.js
deleted file mode 100644
index 185c3845d22f0c504fdb9cb12be51f648c840ba4..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/dynamic-updates/script-tests/SVGFilterElement-dom-filterRes-attr.js
+++ /dev/null
@@ -1,48 +0,0 @@
-// [Name] SVGFilterElement-dom-filterRes-attr.js
-// [Expected rendering result] An offseted gradient (performed by diffuse lighting) - and a series of PASS messages
-
-description("Tests dynamic updates of the 'filterRes' attribute of the SVGFilterElement object")
-createSVGTestCase();
-
-var pointLight = createSVGElement("fePointLight");
-pointLight.setAttribute("x", "100");
-pointLight.setAttribute("y", "100");
-pointLight.setAttribute("z", "30");
-
-var gradientElement = createSVGElement("feDiffuseLighting");
-gradientElement.setAttribute("in", "SourceGraphic");
-gradientElement.setAttribute("diffuseConstant", "1");
-gradientElement.setAttribute("lighting-color", "yellow");
-gradientElement.appendChild(pointLight);
-
-var filterElement = createSVGElement("filter");
-filterElement.setAttribute("id", "myFilter");
-filterElement.setAttribute("filterUnits", "userSpaceOnUse");
-filterElement.setAttribute("x", "0");
-filterElement.setAttribute("y", "0");
-filterElement.setAttribute("width", "200");
-filterElement.setAttribute("height", "200");
-filterElement.setAttribute("filterRes", "400");
-filterElement.appendChild(gradientElement);
-
-var defsElement = createSVGElement("defs");
-defsElement.appendChild(filterElement);
-
-rootSVGElement.appendChild(defsElement);
-
-var rectElement = createSVGElement("rect");
-rectElement.setAttribute("x", "0");
-rectElement.setAttribute("y", "0");
-rectElement.setAttribute("width", "200");
-rectElement.setAttribute("height", "200");
-rectElement.setAttribute("filter", "url(#myFilter)");
-rootSVGElement.appendChild(rectElement);
-
-shouldBeEqualToString("filterElement.getAttribute('filterRes')", "400");
-
-function repaintTest() {
- filterElement.setAttribute("filterRes", "200");
- shouldBeEqualToString("filterElement.getAttribute('filterRes')", "200");
-}
-
-var successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698