[Webkit-unassigned] [Bug 124139] Mouse wheel events dropped from non-scrolling iframe on first load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 5 14:53:30 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=124139

--- Comment #5 from Brent Fulgham <bfulgham at webkit.org> ---
(In reply to comment #4)
> Hello, thanks for looking into this!
> 
> I'm afraid I disagree that this is working as expected: my understanding is
> that the "scrolling" attribute indicates whether or not a scrollbar should
> be shown for the iframe, not whether mouse wheel events should be blocked.

'scrolling' isn't specified for iframe in the HTML5, so it's hard to know what behavior is best here. <https://html.spec.whatwg.org/multipage/embedded-content.html#the-iframe-element>.

HTML4 doesn't specify how wheel events should be interpreted when the iframe has its scrolling attribute set to 'no'. It merely requires that no scrolling devices for the frame be provided, which we comply with.

> This seems to be the interpretation of Chrome/Firefox/IE too.  As far as I
> know, there isn't any other way to disable the scrollbar, and I think
> blocking mouse wheel events inadvertently prevents desired behaviour for
> pages within the iframe (mouse wheel is commonly used for zooming maps, for
> example).

Does using the CSS3 "overflow:hidden" not work the way you would like? This might need to be combined with the iframe "seamless" attribute.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150105/060524cf/attachment-0002.html>


More information about the webkit-unassigned mailing list