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

Unified Diff: LayoutTests/svg/dom/SVGFESpecularLightingElement-svgdom-kernelUnitLength.html

Issue 1155743010: Implement SVGFESpecularLightingElement.kernelUnitLengthX/kernelUnitLengthY. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: PS 7 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
« no previous file with comments | « no previous file | LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGFESpecularLightingElement-svgdom-kernelUnitLength.html
diff --git a/LayoutTests/svg/dom/SVGFESpecularLightingElement-svgdom-kernelUnitLength.html b/LayoutTests/svg/dom/SVGFESpecularLightingElement-svgdom-kernelUnitLength.html
new file mode 100644
index 0000000000000000000000000000000000000000..58653ccd32af05917f7d549020eb7fb625d3c5da
--- /dev/null
+++ b/LayoutTests/svg/dom/SVGFESpecularLightingElement-svgdom-kernelUnitLength.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src=../../resources/testharness.js></script>
+<script src=../../resources/testharnessreport.js></script>
+<script>
+test(function() {
+ var specularElement = document.createElementNS("http://www.w3.org/2000/svg", "feSpecularLighting");
+ specularElement.setAttribute("kernelUnitLength", "3 4");
+ assert_equals(specularElement.getAttribute('kernelUnitLength'), "3 4");
+ assert_equals(specularElement.kernelUnitLengthX.baseVal, 3);
+ assert_equals(specularElement.kernelUnitLengthY.baseVal, 4);
+ specularElement.kernelUnitLengthX.baseVal = 5;
+ specularElement.kernelUnitLengthY.baseVal = 10;
+ assert_equals(specularElement.kernelUnitLengthX.baseVal, 5);
+ assert_equals(specularElement.kernelUnitLengthY.baseVal, 10);
+ assert_equals(specularElement.getAttribute('kernelUnitLength'), "5 10");
+}, 'tests of the |kernelUnitLength| attribute of the SVGFESpecularLightingElement object');
+</script>
« no previous file with comments | « no previous file | LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698