summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/336096-1.xul
blob: 760c8e46f00a96f9bb3688ed9117f5ffc8941636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <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>