Hello Kitty
Hello
Kitty
// We used to do this in an onload handler, but getAnonymousNodes is no // longer accessible to content, and we can't use SpecialPowers in // reftests. So we enable XBL scopes and take advantage of the fact that XBL // scopes can access these functions. We apply this binding // programatically to make absolutely sure this constructor runs after all the // other bindings have been set up. document.body.offsetHeight; document.getAnonymousNodes(document.getElementById("d3"))[0].style.display = 'inline'; document.getAnonymousNodes(document.getElementById("d4"))[2].style.display = 'inline';
Kitty
Hello
Kitty
Hello