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

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 4 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 | Source/core/svg/SVGFESpecularLightingElement.idl » ('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 setup(function() {
philipj_slow 2015/06/01 14:16:33 You only have one test, so you can just do `var sp
6 window.specularElement = document.createElementNS("http://www.w3.org/2000/sv g", "feSpecularLighting");
7 });
8
9 test(function() {
10 specularElement.setAttribute("kernelUnitLength", "3 4");
11 assert_equals(specularElement.getAttribute('kernelUnitLength'), "3 4");
12 assert_equals(specularElement.kernelUnitLengthX.baseVal, 3);
13 assert_equals(specularElement.kernelUnitLengthY.baseVal, 4);
14 specularElement.kernelUnitLengthX.baseVal = 5;
15 specularElement.kernelUnitLengthY.baseVal = 10;
16 assert_equals(specularElement.kernelUnitLengthX.baseVal, 5);
17 assert_equals(specularElement.kernelUnitLengthY.baseVal, 10);
18 assert_equals(specularElement.getAttribute('kernelUnitLength'), "5 10");
19 }, 'tests of the |kernelUnitLength| attribute of the SVGFESpecularLightingElemen t object');
20 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGFESpecularLightingElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698