summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/336096-1.xhtml
blob: ad3bf95f4596c145af5707f4615714b2dab1a74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" 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>