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

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: 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 expect("SVGTransform.SVG_TRANSFORM_TRANSLATE", 2); 201 expect("SVGTransform.SVG_TRANSFORM_TRANSLATE", 2);
202 expect("SVGTransform.SVG_TRANSFORM_SCALE", 3); 202 expect("SVGTransform.SVG_TRANSFORM_SCALE", 3);
203 expect("SVGTransform.SVG_TRANSFORM_ROTATE", 4); 203 expect("SVGTransform.SVG_TRANSFORM_ROTATE", 4);
204 expect("SVGTransform.SVG_TRANSFORM_SKEWX", 5); 204 expect("SVGTransform.SVG_TRANSFORM_SKEWX", 5);
205 expect("SVGTransform.SVG_TRANSFORM_SKEWY", 6); 205 expect("SVGTransform.SVG_TRANSFORM_SKEWY", 6);
206 206
207 expect("SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN", 0); 207 expect("SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN", 0);
208 expect("SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE", 1); 208 expect("SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE", 1);
209 expect("SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", 2); 209 expect("SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", 2);
210 210
211 expect("SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN", 0); 211 expect("SVGViewElement.SVG_ZOOMANDPAN_UNKNOWN", 0);
212 expect("SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE", 1); 212 expect("SVGViewElement.SVG_ZOOMANDPAN_DISABLE", 1);
213 expect("SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY", 2); 213 expect("SVGViewElement.SVG_ZOOMANDPAN_MAGNIFY", 2);
214 } 214 }
215 ]]></script> 215 ]]></script>
216 </svg> 216 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698