haikuwebkit/LayoutTests/svg/dynamic-updates/SVGPolygonElement-svgdom-re...

17 lines
855 B
Plaintext

SVG 1.1 dynamic update tests
Check that SVGPolygonElement is initially displayed
PASS document.defaultView.getComputedStyle(polygonElement, null).display is "inline"
Check that setting requiredFeatures to something invalid makes it not render
PASS document.defaultView.getComputedStyle(polygonElement, null).display is ""
Check that setting requiredFeatures to something valid makes it render again
PASS document.defaultView.getComputedStyle(polygonElement, null).display is "inline"
Check that adding something valid to requiredFeatures keeps rendering the element
PASS document.defaultView.getComputedStyle(polygonElement, null).display is "inline"
Check that adding something invalid to requiredFeatures makes it not render
PASS document.defaultView.getComputedStyle(polygonElement, null).display is ""
PASS successfullyParsed is true
TEST COMPLETE