layout/reftests/bugs/507487-2.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <!--
     3 https://bugzilla.mozilla.org/show_bug.cgi?id=507487
     4 -->
     5 <head>
     6   <style>
     7     #content > * {
     8     display:block; width:100px; height:100px; background: purple;
     9     }
    10     #content > teST {
    11     display:block; width:100px; height:100px; background: green;
    12     }
    14     #content > test {
    15     display:block; width:100px; height:100px; background: blue;
    16     }
    17   </style>
    18   <script type="application/javascript">
    19   <![CDATA[
    20   function f() {
    21     document.getElementById('content').appendChild(document.createElementNS("test", "test"));
    22     document.getElementById('content').appendChild(document.createElementNS("test", "teST"));
    23     document.getElementById('content').appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "test"));
    24     document.getElementById('content').appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "teST"));
    25   }
    26   ]]>
    27   </script>
    28 </head>
    29 <body onload="f();">
    30 <div id="content"></div>
    31 </body>
    32 </html>

mercurial