| OLD | NEW |
| 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 void clear(); | 533 void clear(); |
| 534 DOMString initialize(DOMString newItem); | 534 DOMString initialize(DOMString newItem); |
| 535 getter DOMString getItem(unsigned long index); | 535 getter DOMString getItem(unsigned long index); |
| 536 DOMString insertItemBefore(DOMString newItem, unsigned long index); | 536 DOMString insertItemBefore(DOMString newItem, unsigned long index); |
| 537 DOMString replaceItem(DOMString newItem, unsigned long index); | 537 DOMString replaceItem(DOMString newItem, unsigned long index); |
| 538 DOMString removeItem(unsigned long index); | 538 DOMString removeItem(unsigned long index); |
| 539 DOMString appendItem(DOMString newItem); | 539 DOMString appendItem(DOMString newItem); |
| 540 setter void (unsigned long index, DOMString newItem); | 540 setter void (unsigned long index, DOMString newItem); |
| 541 }; | 541 }; |
| 542 | 542 |
| 543 [NoInterfaceObject] | |
| 544 interface SVGUnitTypes { | 543 interface SVGUnitTypes { |
| 545 // Unit Types | 544 // Unit Types |
| 546 const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0; | 545 const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0; |
| 547 const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1; | 546 const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
| 548 const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; | 547 const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
| 549 }; | 548 }; |
| 550 | 549 |
| 551 [NoInterfaceObject] | 550 [NoInterfaceObject] |
| 552 interface SVGTests { | 551 interface SVGTests { |
| 553 [SameObject] readonly attribute SVGStringList requiredExtensions; | 552 [SameObject] readonly attribute SVGStringList requiredExtensions; |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 914 const unsigned short SVG_SPREADMETHOD_PAD = 1; | 913 const unsigned short SVG_SPREADMETHOD_PAD = 1; |
| 915 const unsigned short SVG_SPREADMETHOD_REFLECT = 2; | 914 const unsigned short SVG_SPREADMETHOD_REFLECT = 2; |
| 916 const unsigned short SVG_SPREADMETHOD_REPEAT = 3; | 915 const unsigned short SVG_SPREADMETHOD_REPEAT = 3; |
| 917 | 916 |
| 918 [SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits; | 917 [SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits; |
| 919 [SameObject] readonly attribute SVGAnimatedTransformList gradientTransform; | 918 [SameObject] readonly attribute SVGAnimatedTransformList gradientTransform; |
| 920 [SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod; | 919 [SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod; |
| 921 }; | 920 }; |
| 922 | 921 |
| 923 SVGGradientElement implements SVGURIReference; | 922 SVGGradientElement implements SVGURIReference; |
| 924 SVGGradientElement implements SVGUnitTypes; | |
| 925 | 923 |
| 926 interface SVGLinearGradientElement : SVGGradientElement { | 924 interface SVGLinearGradientElement : SVGGradientElement { |
| 927 [SameObject] readonly attribute SVGAnimatedLength x1; | 925 [SameObject] readonly attribute SVGAnimatedLength x1; |
| 928 [SameObject] readonly attribute SVGAnimatedLength y1; | 926 [SameObject] readonly attribute SVGAnimatedLength y1; |
| 929 [SameObject] readonly attribute SVGAnimatedLength x2; | 927 [SameObject] readonly attribute SVGAnimatedLength x2; |
| 930 [SameObject] readonly attribute SVGAnimatedLength y2; | 928 [SameObject] readonly attribute SVGAnimatedLength y2; |
| 931 }; | 929 }; |
| 932 | 930 |
| 933 interface SVGRadialGradientElement : SVGGradientElement { | 931 interface SVGRadialGradientElement : SVGGradientElement { |
| 934 [SameObject] readonly attribute SVGAnimatedLength cx; | 932 [SameObject] readonly attribute SVGAnimatedLength cx; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 957 [SameObject] readonly attribute SVGAnimatedEnumeration patternContentUnits; | 955 [SameObject] readonly attribute SVGAnimatedEnumeration patternContentUnits; |
| 958 [SameObject] readonly attribute SVGAnimatedTransformList patternTransform; | 956 [SameObject] readonly attribute SVGAnimatedTransformList patternTransform; |
| 959 [SameObject] readonly attribute SVGAnimatedLength x; | 957 [SameObject] readonly attribute SVGAnimatedLength x; |
| 960 [SameObject] readonly attribute SVGAnimatedLength y; | 958 [SameObject] readonly attribute SVGAnimatedLength y; |
| 961 [SameObject] readonly attribute SVGAnimatedLength width; | 959 [SameObject] readonly attribute SVGAnimatedLength width; |
| 962 [SameObject] readonly attribute SVGAnimatedLength height; | 960 [SameObject] readonly attribute SVGAnimatedLength height; |
| 963 }; | 961 }; |
| 964 | 962 |
| 965 SVGPatternElement implements SVGFitToViewBox; | 963 SVGPatternElement implements SVGFitToViewBox; |
| 966 SVGPatternElement implements SVGURIReference; | 964 SVGPatternElement implements SVGURIReference; |
| 967 SVGPatternElement implements SVGUnitTypes; | |
| 968 | 965 |
| 969 interface SVGHatchElement : SVGElement { | 966 interface SVGHatchElement : SVGElement { |
| 970 }; | 967 }; |
| 971 | 968 |
| 972 interface SVGHatchpathElement : SVGElement { | 969 interface SVGHatchpathElement : SVGElement { |
| 973 }; | 970 }; |
| 974 | 971 |
| 975 interface SVGCursorElement : SVGElement { | 972 interface SVGCursorElement : SVGElement { |
| 976 [SameObject] readonly attribute SVGAnimatedLength x; | 973 [SameObject] readonly attribute SVGAnimatedLength x; |
| 977 [SameObject] readonly attribute SVGAnimatedLength y; | 974 [SameObject] readonly attribute SVGAnimatedLength y; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1008 interface SVGFilterElement : SVGElement { | 1005 interface SVGFilterElement : SVGElement { |
| 1009 readonly attribute SVGAnimatedEnumeration filterUnits; | 1006 readonly attribute SVGAnimatedEnumeration filterUnits; |
| 1010 readonly attribute SVGAnimatedEnumeration primitiveUnits; | 1007 readonly attribute SVGAnimatedEnumeration primitiveUnits; |
| 1011 readonly attribute SVGAnimatedLength x; | 1008 readonly attribute SVGAnimatedLength x; |
| 1012 readonly attribute SVGAnimatedLength y; | 1009 readonly attribute SVGAnimatedLength y; |
| 1013 readonly attribute SVGAnimatedLength width; | 1010 readonly attribute SVGAnimatedLength width; |
| 1014 readonly attribute SVGAnimatedLength height; | 1011 readonly attribute SVGAnimatedLength height; |
| 1015 }; | 1012 }; |
| 1016 | 1013 |
| 1017 SVGFilterElement implements SVGURIReference; | 1014 SVGFilterElement implements SVGURIReference; |
| 1018 SVGFilterElement implements SVGUnitTypes; | |
| 1019 | 1015 |
| 1020 [NoInterfaceObject] | 1016 [NoInterfaceObject] |
| 1021 interface SVGFilterPrimitiveStandardAttributes { | 1017 interface SVGFilterPrimitiveStandardAttributes { |
| 1022 readonly attribute SVGAnimatedLength x; | 1018 readonly attribute SVGAnimatedLength x; |
| 1023 readonly attribute SVGAnimatedLength y; | 1019 readonly attribute SVGAnimatedLength y; |
| 1024 readonly attribute SVGAnimatedLength width; | 1020 readonly attribute SVGAnimatedLength width; |
| 1025 readonly attribute SVGAnimatedLength height; | 1021 readonly attribute SVGAnimatedLength height; |
| 1026 readonly attribute SVGAnimatedString result; | 1022 readonly attribute SVGAnimatedString result; |
| 1027 }; | 1023 }; |
| 1028 | 1024 |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1555 SVGFEMergeElement: ['feMerge'], | 1551 SVGFEMergeElement: ['feMerge'], |
| 1556 SVGFEMergeNodeElement: ['feMergeNode'], | 1552 SVGFEMergeNodeElement: ['feMergeNode'], |
| 1557 SVGFEMorphologyElement: ['feMorphology'], | 1553 SVGFEMorphologyElement: ['feMorphology'], |
| 1558 SVGFESpecularLightingElement: ['feSpecularLighting'], | 1554 SVGFESpecularLightingElement: ['feSpecularLighting'], |
| 1559 SVGFETileElement: ['feTile'], | 1555 SVGFETileElement: ['feTile'], |
| 1560 SVGFETurbulenceElement: ['feTurbulence'] | 1556 SVGFETurbulenceElement: ['feTurbulence'] |
| 1561 }); | 1557 }); |
| 1562 idlArray.test(); | 1558 idlArray.test(); |
| 1563 </script> | 1559 </script> |
| 1564 | 1560 |
| OLD | NEW |