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

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

Issue 2477133002: Import wpt@306326cfe973b6c7019c50879ad03b02825c7539 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. 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
394 boolean isPointInFill(DOMPoint point); 396 boolean isPointInFill(DOMPoint point);
395 boolean isPointInStroke(DOMPoint point); 397 boolean isPointInStroke(DOMPoint point);
398 float getTotalLength();
399 DOMPoint getPointAtLength(float distance);
396 }; 400 };
397 401
398 interface SVGNumber { 402 interface SVGNumber {
399 attribute float value; 403 attribute float value;
400 }; 404 };
401 405
402 interface SVGLength { 406 interface SVGLength {
403 407
404 // Length Unit Types 408 // Length Unit Types
405 const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0; 409 const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 attribute unsigned short align; 736 attribute unsigned short align;
733 attribute unsigned short meetOrSlice; 737 attribute unsigned short meetOrSlice;
734 }; 738 };
735 739
736 interface SVGAnimatedPreserveAspectRatio { 740 interface SVGAnimatedPreserveAspectRatio {
737 [SameObject] readonly attribute SVGPreserveAspectRatio baseVal; 741 [SameObject] readonly attribute SVGPreserveAspectRatio baseVal;
738 [SameObject] readonly attribute SVGPreserveAspectRatio animVal; 742 [SameObject] readonly attribute SVGPreserveAspectRatio animVal;
739 }; 743 };
740 744
741 interface SVGPathElement : SVGGeometryElement { 745 interface SVGPathElement : SVGGeometryElement {
742
743 [SameObject] readonly attribute SVGAnimatedNumber pathLength;
744
745 float getTotalLength();
746 DOMPoint getPointAtLength(float distance);
747 }; 746 };
748 747
749 interface SVGRectElement : SVGGeometryElement { 748 interface SVGRectElement : SVGGeometryElement {
750 [SameObject] readonly attribute SVGAnimatedLength x; 749 [SameObject] readonly attribute SVGAnimatedLength x;
751 [SameObject] readonly attribute SVGAnimatedLength y; 750 [SameObject] readonly attribute SVGAnimatedLength y;
752 [SameObject] readonly attribute SVGAnimatedLength width; 751 [SameObject] readonly attribute SVGAnimatedLength width;
753 [SameObject] readonly attribute SVGAnimatedLength height; 752 [SameObject] readonly attribute SVGAnimatedLength height;
754 [SameObject] readonly attribute SVGAnimatedLength rx; 753 [SameObject] readonly attribute SVGAnimatedLength rx;
755 [SameObject] readonly attribute SVGAnimatedLength ry; 754 [SameObject] readonly attribute SVGAnimatedLength ry;
756 }; 755 };
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 SVGFEMergeElement: ['feMerge'], 1555 SVGFEMergeElement: ['feMerge'],
1557 SVGFEMergeNodeElement: ['feMergeNode'], 1556 SVGFEMergeNodeElement: ['feMergeNode'],
1558 SVGFEMorphologyElement: ['feMorphology'], 1557 SVGFEMorphologyElement: ['feMorphology'],
1559 SVGFESpecularLightingElement: ['feSpecularLighting'], 1558 SVGFESpecularLightingElement: ['feSpecularLighting'],
1560 SVGFETileElement: ['feTile'], 1559 SVGFETileElement: ['feTile'],
1561 SVGFETurbulenceElement: ['feTurbulence'] 1560 SVGFETurbulenceElement: ['feTurbulence']
1562 }); 1561 });
1563 idlArray.test(); 1562 idlArray.test();
1564 </script> 1563 </script>
1565 1564
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698