我似乎无法在Firefox中的HTML5画布中获取onMouseWheel事件。下面的代码片段在Chrome和IE9中按预期工作,但在Firefox中只接收点击事件:
<!DOCTYPE html>
<html>
<body>
<canvas id="TestCanvas" tabindex="2" onmousewheel="window.alert('wheel!')" onclick="window.alert('click!')" style="width:90%;height:90%;margin-left:auto;margin-right:auto border:1px solid green;"></canvas>
</body>
</html>
根据我看到的规范,onMouseWheel 应该是 HTML5 元素上的标准事件。我做错了什么吗?