Status: FAIL | Duration: 77ms | Subtests: 44/68 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| SVGAltGlyphElement interface must be removed | PASS | |
| SVGAltGlyphDefElement interface must be removed | PASS | |
| SVGAltGlyphItemElement interface must be removed | PASS | |
| SVGAnimatedPathData interface must be removed | PASS | |
| SVGColor interface must be removed | PASS | |
| SVGColorProfileElement interface must be removed | PASS | |
| SVGColorProfileRule interface must be removed | PASS | |
| SVGCursorElement interface must be removed | PASS | |
| SVGDocument interface must be removed | PASS | |
| SVGElementInstanceList interface must be removed | PASS | |
| SVGExternalResourcesRequired interface must be removed | PASS | |
| SVGFontElement interface must be removed | PASS | |
| SVGFontFaceElement interface must be removed | PASS | |
| SVGFontFaceSrcElement interface must be removed | PASS | |
| SVGFontFaceUriElement interface must be removed | PASS | |
| SVGFontFaceFormatElement interface must be removed | PASS | |
| SVGGlyphElement interface must be removed | PASS | |
| SVGGlyphRefElement interface must be removed | PASS | |
| SVGHKernElement interface must be removed | PASS | |
| SVGICCColor interface must be removed | PASS | |
| SVGLangSpace interface must be removed | PASS | |
| SVGLocatable interface must be removed | PASS | |
| SVGMissingGlyphElement interface must be removed | PASS | |
| SVGTransformable interface must be removed | PASS | |
| SVGTRefElement interface must be removed | PASS | |
| SVGPaint interface must be removed | PASS | |
| SVGPathSeg interface must be removed | PASS | |
| SVGStylable interface must be removed | PASS | |
| SVGUnknownElement interface must be removed | PASS | |
| SVGVKernElement interface must be removed | PASS | |
| SVGViewSpec interface must be removed | PASS | |
| SVGZoomEvent interface must be removed | PASS | |
| GetSVGDocument mixin interface must not be exposed | PASS | |
| SVGAnimatedPoints mixin interface must not be exposed | PASS | |
| SVGElementInstance mixin interface must not be exposed | PASS | |
| SVGFilterPrimitiveStandardAttributes mixin interface must not be exposed | PASS | |
| SVGFitToViewBox mixin interface must not be exposed | PASS | |
| SVGTests mixin interface must not be exposed | PASS | |
| SVGURIReference mixin interface must not be exposed | PASS | |
| SVGZoomAndPan mixin interface must not be exposed | PASS | |
| SVGElement.prototype.getPresentationAttribute must be removed | PASS | |
| SVGElement.prototype.xmlbase must be removed | PASS | |
| SVGElement.prototype.xmllang must be removed | PASS | |
| SVGElement.prototype.xmlspace must be removed | PASS | |
| SVGAElement.prototype.text must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGGraphicsElement.prototype.farthestViewportElement must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGGraphicsElement.prototype.getTransformToElement must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGGraphicsElement.prototype.hasExtension must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGGraphicsElement.prototype.nearestViewportElement must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGGraphicsElement.prototype.requiredFeatures must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.currentView must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.pixelUnitToMillimeterX must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.pixelUnitToMillimeterY must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.screenPixelToMillimeterX must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.screenPixelToMillimeterY must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.setCurrentScale must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.setCurrentTranslate must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.useCurrentView must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGSVGElement.prototype.viewport must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGViewElement.prototype.viewTarget must be removed | FAIL | cannot convert 'null' or 'undefined' to object |
| SVGPathElement.prototype.getPointAtLength must be moved to SVGGeometryElement.prototype | FAIL | SVGPathElement is not defined |
| SVGPathElement.prototype.getTotalLength must be moved to SVGGeometryElement.prototype | FAIL | SVGPathElement is not defined |
| SVGPathElement.prototype.pathLength must be moved to SVGGeometryElement.prototype | FAIL | SVGPathElement is not defined |
| SVGClipPathElement must not implement SVGUnitTypes | FAIL | assert_true: expected true got false |
| SVGFilterElement must not implement SVGUnitTypes | FAIL | assert_true: expected true got false |
| SVGGradientElement must not implement SVGUnitTypes | FAIL | assert_true: expected true got false |
| SVGMaskElement must not implement SVGUnitTypes | FAIL | assert_true: expected true got false |
| SVGPatternElement must not implement SVGUnitTypes | FAIL | assert_true: expected true got false |
<!DOCTYPE html> <title>Historical SVG features must be removed</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script> var removedInterfaces = [ "SVGAltGlyphElement", "SVGAltGlyphDefElement", "SVGAltGlyphItemElement", "SVGAnimatedPathData", "SVGColor", "SVGColorProfileElement", "SVGColorProfileRule", "SVGCursorElement", "SVGDocument", "SVGElementInstanceList", "SVGExternalResourcesRequired", "SVGFontElement", "SVGFontFaceElement", "SVGFontFaceSrcElement", "SVGFontFaceUriElement", "SVGFontFaceFormatElement", "SVGGlyphElement", "SVGGlyphRefElement", "SVGHKernElement", "SVGICCColor", "SVGLangSpace", "SVGLocatable", "SVGMissingGlyphElement", "SVGTransformable", "SVGTRefElement", "SVGPaint", "SVGPathSeg", "SVGStylable", "SVGUnknownElement", "SVGVKernElement", "SVGViewSpec", "SVGZoomEvent" ] for (var name of removedInterfaces) { test(function() { assert_false(name in window) }, name + " interface must be removed") } var mixinInterfaces = [ "GetSVGDocument", "SVGAnimatedPoints", "SVGElementInstance", "SVGFilterPrimitiveStandardAttributes", "SVGFitToViewBox", "SVGTests", "SVGURIReference", "SVGZoomAndPan" ] for (var name of mixinInterfaces) { test(function() { assert_false(name in window) }, name + " mixin interface must not be exposed") } var removedMembers = { "SVGElement": [ "getPresentationAttribute", "xmlbase", "xmllang", "xmlspace" ], "SVGAElement": [ "text" ], "SVGGraphicsElement": [ "farthestViewportElement", "getTransformToElement", "hasExtension", "nearestViewportElement", "requiredFeatures" ], "SVGSVGElement": [ "currentView", "pixelUnitToMillimeterX", "pixelUnitToMillimeterY", "screenPixelToMillimeterX", "screenPixelToMillimeterY", "setCurrentScale", "setCurrentTranslate", "useCurrentView", "viewport" ], "SVGViewElement": [ "viewTarget" ] } for (var name in removedMembers) { for (var member of removedMembers[name]) { test(function() { assert_false(member in window[name].prototype) }, name + ".prototype." + member + " must be removed") } } var movedPathMembers = [ "getPointAtLength", "getTotalLength", "pathLength" ] for (var member of movedPathMembers) { test(function() { assert_false(SVGPathElement.prototype.hasOwnProperty(member)) assert_true(SVGGeometryElement.prototype.hasOwnProperty(member)) }, "SVGPathElement.prototype." + member + " must be moved to SVGGeometryElement.prototype") } var implementedSVGUnitTypes = [ "SVGClipPathElement", "SVGFilterElement", "SVGGradientElement", "SVGMaskElement", "SVGPatternElement" ] for (var name of implementedSVGUnitTypes) { test(function() { assert_true(name in window); var interfaceObject = window[name]; assert_false("SVG_UNIT_TYPE_UNKNOWN" in interfaceObject); assert_false("SVG_UNIT_TYPE_USERSPACEONUSE" in interfaceObject); assert_false("SVG_UNIT_TYPE_OBJECTBOUNDINGBOX" in interfaceObject); }, name + " must not implement SVGUnitTypes") } </script>