blob: 6f7968766f48b152c0929f0a9fa44d8feab0fb4e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
border: 4px solid black;
}
</style>
<script>
function addHandler()
{
window.setTimeout(function() {
var target = document.getElementById('target');
target.addEventListener('mousewheel', function(e) { });
parent.frameChanged();
}, 0);
}
window.addEventListener('load', addHandler, false);
</script>
</head>
<body>
<div id="target" class="box">
</div>
<pre id="output"></pre>
</body>
</html>