gecko/layout/reftests/bugs/381746-1.html

24 lines
696 B
HTML
Raw Normal View History

<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>