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

Side by Side Diff: LayoutTests/svg/custom/js-svg-constructors.svg

Issue 16959011: Get rid of multiple inheritence for SVGViewElement interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 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 | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="runTest()"> 2 <svg xmlns="http://www.w3.org/2000/svg" onload="runTest()">
3 <script type="text/ecmascript"><![CDATA[ 3 <script type="text/ecmascript"><![CDATA[
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 function expect(string, val) { 7 function expect(string, val) {
8 var b = eval(string) == val; 8 var b = eval(string) == val;
9 var message = (string + "") + " " + (b ? "PASSED" : "FAILED (actual: '" + eval(string) + "' expected: '" + val + "')"); 9 var message = (string + "") + " " + (b ? "PASSED" : "FAILED (actual: '" + eval(string) + "' expected: '" + val + "')");
10 var txt = document.createElementNS("http://www.w3.org/2000/svg", "text"); 10 var txt = document.createElementNS("http://www.w3.org/2000/svg", "text");
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 expect("SVGTransform.SVG_TRANSFORM_TRANSLATE", 2); 197 expect("SVGTransform.SVG_TRANSFORM_TRANSLATE", 2);
198 expect("SVGTransform.SVG_TRANSFORM_SCALE", 3); 198 expect("SVGTransform.SVG_TRANSFORM_SCALE", 3);
199 expect("SVGTransform.SVG_TRANSFORM_ROTATE", 4); 199 expect("SVGTransform.SVG_TRANSFORM_ROTATE", 4);
200 expect("SVGTransform.SVG_TRANSFORM_SKEWX", 5); 200 expect("SVGTransform.SVG_TRANSFORM_SKEWX", 5);
201 expect("SVGTransform.SVG_TRANSFORM_SKEWY", 6); 201 expect("SVGTransform.SVG_TRANSFORM_SKEWY", 6);
202 202
203 expect("SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN", 0); 203 expect("SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN", 0);
204 expect("SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE", 1); 204 expect("SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE", 1);
205 expect("SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", 2); 205 expect("SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", 2);
206 206
207 expect("SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN", 0); 207 expect("SVGViewElement.SVG_ZOOMANDPAN_UNKNOWN", 0);
208 expect("SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE", 1); 208 expect("SVGViewElement.SVG_ZOOMANDPAN_DISABLE", 1);
209 expect("SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY", 2); 209 expect("SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY", 2);
210 } 210 }
211 ]]></script> 211 ]]></script>
212 </svg> 212 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/global-constructors-expected.txt ('k') | LayoutTests/svg/custom/js-svg-constructors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698