https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 34a1b4131d013e9f9417f947e92a83992679e0cf authored by ffxbld on 06 January 2015, 04:54:46 UTC
Added FIREFOX_31_4_0esr_RELEASE FIREFOX_31_4_0esr_BUILD1 tag(s) for changeset 60d7a6f78402. DONTBUILD CLOSED TREE a=release
Tip revision: 34a1b41
389636-1.html
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
function finishTest()
{
  document.documentElement.className = "";
}

function boom()
{
  var HTML_NS = "http://www.w3.org/1999/xhtml";
  var XUL_NS  = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";

  var clonedRichListBox = document.createElementNS(XUL_NS, 'richlistbox').cloneNode(false);
  var div = document.createElementNS(HTML_NS, "div");

  div.appendChild(clonedRichListBox);

  document.body.appendChild(clonedRichListBox);

  setTimeout(finishTest, 100);
}

</script>

</head>
<body onload="setTimeout(boom, 100);" style="visibility: hidden"> 

</body>
</html>
back to top