title: Workaround for iframe/mousewheel bug in Safari 6.1/7.0
body: <p>I've found a bug affecting Safari 6.1 and 7.0 (it is fine in Safari 5.1 and 6.0). I've reported it to Apple.</p>
  
  <p>The test case is here: <a href="http://tremby.net/dump/iframe-safari/" rel="noreferrer">http://tremby.net/dump/iframe-safari/</a></p>
  
  <p>The code is very simple. The parent page just has an iframe, and the iframe has a listener for the <code>mousewheel</code> event which fires an alert. The iframe's contents are smaller than the iframe itself (more on that later).</p>
  
  <p>If you refresh this page by clicking in the location bar and pressing enter, the mousewheel events in the iframe will not fire (you see no alerts). But if you refresh with the refresh button they will.</p>
  
  <p>What I need is a workaround to this.</p>
  
  <p>One we have already found is to make the iframe's contents overflow the iframe's bounds. Mousewheel events now fire, but it's not acceptable to have a scrollbar and the contents moving. (Never mind why the choice of using an iframe at all -- that's not up to me.)</p>
  
  <p>Any ideas?</p>