layout/reftests/bugs/489868-1.svg

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <svg xmlns:xlink="http://www.w3.org/1999/xlink" 
     2      xmlns:html="http://www.w3.org/1999/xhtml"
     3      xmlns="http://www.w3.org/2000/svg" 
     4      class="reftest-wait">
     6 <html:style>
     7   .gencon:after { content: counter(chicken); }
     8 </html:style>
    10 <script type="text/javascript">
    12 var dc;
    13 var defs;
    15 function boom()
    16 {
    17   var define = document.getElementById("define");
    18   define.setAttribute("class", "gencon");
    19   document.documentElement.removeAttribute("class");
    20 }
    22 window.addEventListener("load", boom, false);
    24 </script>
    26 <defs id="defs">
    27   <g id="define">
    28     <rect x="0" y="0" width="75" height="75" fill="green"/>
    29   </g>
    30 </defs>
    32 <use xlink:href="#define" x="20" y="20" id="use" />
    34 </svg>

mercurial