mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
2f401edad4
--HG-- extra : rebase_source : a92b4a01d62ae2a22230da3dfb4a6ad177abce11
24 lines
696 B
HTML
24 lines
696 B
HTML
<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>
|