mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
14 lines
458 B
HTML
14 lines
458 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<iframe></iframe>
|
|
<script>
|
|
var win = window.frames[0];
|
|
win.document.open();
|
|
win.document.write("<!DOCTYPE html><html><head></head><body></body></html>");
|
|
win.document.close();
|
|
win.document.body.innerHTML = "<link rel='stylesheet' type='text/css' href='outer-sheet.css' />";
|
|
win.document.body.innerHTML += "<p style='padding:2px'>test</p>";
|
|
</script>
|
|
</body>
|
|
|