1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/nesting-invalid-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink='http://www.w3.org/1999/xlink' font-size='16px'> 1.9 + <!-- 1.10 + This tests that elements that are not container elements do not render their 1.11 + children. 1.12 + --> 1.13 + <rect id='r' width='100%' height='100%' fill='red'/> 1.14 + <script xlink:href='nesting-invalid-01.js'/> 1.15 + <script><![CDATA[ 1.16 + for (var i = 0; i < es.length; i++) { 1.17 + document.documentElement.appendChild(makeGroup(i, false, es[i])); 1.18 + document.documentElement.appendChild(makeElement(es[i], { }, [makeGroup(i, true, es[i])])); 1.19 + } 1.20 + 1.21 + document.documentElement.removeChild(document.getElementById('r')); 1.22 + ]]></script> 1.23 +</svg>