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.

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

mercurial