summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/381746-1.html
blob: 427b9cee3efca05b48d0da02970b2960c2c8abc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html class="reftest-wait"><head>
<title>Testcase Bug 381746 - odd and changing border in frameset</title>
<script>
var frameOnloadCalled = false;
function frameOnload() {
  if (!frameOnloadCalled) {
    frameOnloadCalled = true;
    return;
  }
  document.documentElement.removeAttribute("class");
}
function doe() {
document.getElementsByTagName('frame')[0].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
document.getElementsByTagName('frame')[1].src = 'data:text/html;charset=utf-8,<body onload="parent.frameOnload();">text';
}
window.onload=doe;
</script>
</head>
<frameset cols="48%,52%">
  <frame src="">
  <frame src="">
</frameset>
</html>