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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/svg/interfaces.html

Issue 2478613003: Revert of Import wpt@a99ba661fff2fb129894bdff21d63814d9b3f7e9 (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <title>SVG interface tests</title> 2 <title>SVG interface tests</title>
3 <div id=log></div> 3 <div id=log></div>
4 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharness.js></script>
5 <script src=/resources/testharnessreport.js></script> 5 <script src=/resources/testharnessreport.js></script>
6 <script src=/resources/WebIDLParser.js></script> 6 <script src=/resources/WebIDLParser.js></script>
7 <script src=/resources/idlharness.js></script> 7 <script src=/resources/idlharness.js></script>
8 <script type=text/plain id=untested_idl> 8 <script type=text/plain id=untested_idl>
9 interface EventTarget {}; 9 interface EventTarget {};
10 interface Node : EventTarget {}; 10 interface Node : EventTarget {};
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 [SameObject] readonly attribute SVGAnimatedTransformList transform; 384 [SameObject] readonly attribute SVGAnimatedTransformList transform;
385 385
386 DOMRect getBBox(optional SVGBoundingBoxOptions options); 386 DOMRect getBBox(optional SVGBoundingBoxOptions options);
387 DOMMatrix? getCTM(); 387 DOMMatrix? getCTM();
388 DOMMatrix? getScreenCTM(); 388 DOMMatrix? getScreenCTM();
389 }; 389 };
390 390
391 SVGGraphicsElement implements SVGTests; 391 SVGGraphicsElement implements SVGTests;
392 392
393 interface SVGGeometryElement : SVGGraphicsElement { 393 interface SVGGeometryElement : SVGGraphicsElement {
394 [SameObject] readonly attribute SVGAnimatedNumber pathLength;
395
396 boolean isPointInFill(DOMPoint point); 394 boolean isPointInFill(DOMPoint point);
397 boolean isPointInStroke(DOMPoint point); 395 boolean isPointInStroke(DOMPoint point);
398 float getTotalLength();
399 DOMPoint getPointAtLength(float distance);
400 }; 396 };
401 397
402 interface SVGNumber { 398 interface SVGNumber {
403 attribute float value; 399 attribute float value;
404 }; 400 };
405 401
406 interface SVGLength { 402 interface SVGLength {
407 403
408 // Length Unit Types 404 // Length Unit Types
409 const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0; 405 const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 attribute unsigned short align; 732 attribute unsigned short align;
737 attribute unsigned short meetOrSlice; 733 attribute unsigned short meetOrSlice;
738 }; 734 };
739 735
740 interface SVGAnimatedPreserveAspectRatio { 736 interface SVGAnimatedPreserveAspectRatio {
741 [SameObject] readonly attribute SVGPreserveAspectRatio baseVal; 737 [SameObject] readonly attribute SVGPreserveAspectRatio baseVal;
742 [SameObject] readonly attribute SVGPreserveAspectRatio animVal; 738 [SameObject] readonly attribute SVGPreserveAspectRatio animVal;
743 }; 739 };
744 740
745 interface SVGPathElement : SVGGeometryElement { 741 interface SVGPathElement : SVGGeometryElement {
742
743 [SameObject] readonly attribute SVGAnimatedNumber pathLength;
744
745 float getTotalLength();
746 DOMPoint getPointAtLength(float distance);
746 }; 747 };
747 748
748 interface SVGRectElement : SVGGeometryElement { 749 interface SVGRectElement : SVGGeometryElement {
749 [SameObject] readonly attribute SVGAnimatedLength x; 750 [SameObject] readonly attribute SVGAnimatedLength x;
750 [SameObject] readonly attribute SVGAnimatedLength y; 751 [SameObject] readonly attribute SVGAnimatedLength y;
751 [SameObject] readonly attribute SVGAnimatedLength width; 752 [SameObject] readonly attribute SVGAnimatedLength width;
752 [SameObject] readonly attribute SVGAnimatedLength height; 753 [SameObject] readonly attribute SVGAnimatedLength height;
753 [SameObject] readonly attribute SVGAnimatedLength rx; 754 [SameObject] readonly attribute SVGAnimatedLength rx;
754 [SameObject] readonly attribute SVGAnimatedLength ry; 755 [SameObject] readonly attribute SVGAnimatedLength ry;
755 }; 756 };
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 SVGFEMergeElement: ['feMerge'], 1556 SVGFEMergeElement: ['feMerge'],
1556 SVGFEMergeNodeElement: ['feMergeNode'], 1557 SVGFEMergeNodeElement: ['feMergeNode'],
1557 SVGFEMorphologyElement: ['feMorphology'], 1558 SVGFEMorphologyElement: ['feMorphology'],
1558 SVGFESpecularLightingElement: ['feSpecularLighting'], 1559 SVGFESpecularLightingElement: ['feSpecularLighting'],
1559 SVGFETileElement: ['feTile'], 1560 SVGFETileElement: ['feTile'],
1560 SVGFETurbulenceElement: ['feTurbulence'] 1561 SVGFETurbulenceElement: ['feTurbulence']
1561 }); 1562 });
1562 idlArray.test(); 1563 idlArray.test();
1563 </script> 1564 </script>
1564 1565
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698