mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
21 lines
482 B
HTML
21 lines
482 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var frame = document.getElementById("f");
|
||
|
var frameDoc = frame.contentDocument;
|
||
|
frameDoc.getElementById("g").style.background = "yellow";
|
||
|
frame.style.cssFloat = "right";
|
||
|
document.documentElement.offsetHeight;
|
||
|
frameDoc.documentElement.style.color = "green";
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();"><iframe id="f" src="data:text/html,<!DOCTYPE html><frameset><frame id=g></frameset>"></iframe></body>
|
||
|
</html>
|