@Test
public void testEnableRendering() throws MalformedSVGDocument {
node.setAttribute(SVGAttributes.SVG_WIDTH, "0"); //$NON-NLS-1$
node.setAttribute(SVGAttributes.SVG_HEIGHT, "0"); //$NON-NLS-1$
SVGPatternElement e = new SVGPatternElement(node, null);
assertFalse(e.enableRendering());
node.setAttribute(SVGAttributes.SVG_WIDTH, "10"); //$NON-NLS-1$
node.setAttribute(SVGAttributes.SVG_HEIGHT, "0"); //$NON-NLS-1$
e = new SVGPatternElement(node, null);
assertFalse(e.enableRendering());