layout/reftests/svg/nesting-invalid-01.svg

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink='http://www.w3.org/1999/xlink' font-size='16px'>
     6   <!--
     7     This tests that elements that are not container elements do not render their
     8     children.
     9   -->
    10   <rect id='r' width='100%' height='100%' fill='red'/>
    11   <script xlink:href='nesting-invalid-01.js'/>
    12   <script><![CDATA[
    13     for (var i = 0; i < es.length; i++) {
    14       document.documentElement.appendChild(makeGroup(i, false, es[i]));
    15       document.documentElement.appendChild(makeElement(es[i], { }, [makeGroup(i, true, es[i])]));
    16     }
    18     document.documentElement.removeChild(document.getElementById('r'));
    19   ]]></script>
    20 </svg>

mercurial