RetroZilla/layout/html/tests/frameset/core/display.html

19 lines
485 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<HTML>
<HEAD>
<STYLE>
iframe {display: block}
</STYLE>
<SCRIPT>
function foo (name,dis) {
dump(document.getElementById(name).style.display);
document.getElementById(name).style.display = dis;
}
</SCRIPT>
</HEAD>
<BODY>
<IFRAME SRC="about:blank" ID="pref1" WIDTH="20%" HEIGHT="250"></IFRAME>
<INPUT TYPE=BUTTON VALUE="frame none" ONCLICK="foo('pref1','none')">
<INPUT TYPE=BUTTON VALUE="frame block" ONCLICK="foo('pref1','block')">
</BODY>
</HTML>