W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] Disabled attribute for iframes

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 14 Aug 2008 23:14:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0808142146380.5136@hixie.dreamhostps.com>
On Thu, 14 Aug 2008, Greg Houston wrote:
> 
> 1. You have a fluid layout where the columns are resizable via 
> javascript by dragging the borders. The content of one of the columns is 
> an iframe. You begin dragging the border between it and the column to 
> the left, but as soon as the cursor goes over the iframe, the dragging 
> functionality stops because you have now entered the context of the 
> iframe. Thus it becomes impossible or at the very least very difficult 
> to resize the column containing it.

This seems like a bug. It seems like we would want to address this 
directly rather than requiring authors to disable iframes when doing drags 
(especially since that wouldn't help with things like plugins or 
whatever). Wouldn't the better solution be to provide some sort of 
mechanism to say that while the mouse button is down, all the mouse move 
events should go to the element that got the mousedown event?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 14 August 2008 16:14:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC