<!DOCTYPE HTML>
<style>
html, body {
    margin: 0;
    padding: 0;
}
#div {
    width: 100px;
    height: 100px;
    background: red;
}
</style>
<div id='div'></div>
<script>
window.onload = window.parent.onFrameLoaded();
</script>
