1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/507487-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<!-- 1.6 +https://bugzilla.mozilla.org/show_bug.cgi?id=507487 1.7 +--> 1.8 +<head> 1.9 + <style> 1.10 + #content > * { 1.11 + display:block; width:100px; height:100px; background: purple; 1.12 + } 1.13 + #content > teST { 1.14 + display:block; width:100px; height:100px; background: green; 1.15 + } 1.16 + 1.17 + #content > test { 1.18 + display:block; width:100px; height:100px; background: blue; 1.19 + } 1.20 + </style> 1.21 + <script type="application/javascript"> 1.22 + <![CDATA[ 1.23 + function f() { 1.24 + document.getElementById('content').appendChild(document.createElementNS("test", "test")); 1.25 + document.getElementById('content').appendChild(document.createElementNS("test", "teST")); 1.26 + document.getElementById('content').appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "test")); 1.27 + document.getElementById('content').appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "teST")); 1.28 + } 1.29 + ]]> 1.30 + </script> 1.31 +</head> 1.32 +<body onload="f();"> 1.33 +<div id="content"></div> 1.34 +</body> 1.35 +</html>