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

Side by Side 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, 6 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src=../../resources/testharness.js></script>
3 <script src=../../resources/testharnessreport.js></script>
4 <script>
5 test(function() {
6 var specularElement = document.createElementNS("http://www.w3.org/2000/svg", "feSpecularLighting");
7 specularElement.setAttribute("kernelUnitLength", "3 4");
8 assert_equals(specularElement.getAttribute('kernelUnitLength'), "3 4");
9 assert_equals(specularElement.kernelUnitLengthX.baseVal, 3);
10 assert_equals(specularElement.kernelUnitLengthY.baseVal, 4);
11 specularElement.kernelUnitLengthX.baseVal = 5;
12 specularElement.kernelUnitLengthY.baseVal = 10;
13 assert_equals(specularElement.kernelUnitLengthX.baseVal, 5);
14 assert_equals(specularElement.kernelUnitLengthY.baseVal, 10);
15 assert_equals(specularElement.getAttribute('kernelUnitLength'), "5 10");
16 }, 'tests of the |kernelUnitLength| attribute of the SVGFESpecularLightingElemen t object');
17 </script>
OLDNEW
« 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