Source code

Revision control

Copy as Markdown

Other Tools

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<window
<description id="foo">This text should appear bold after onload.</description>
<script type="application/javascript"><![CDATA[
window.addEventListener("load", function setStyle(evt) {
document.getElementById("foo").style.fontWeight = "bold";
}, true);
]]></script>
</window>