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

[whatwg] Text selection in IFrames

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 2 Aug 2007 00:06:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0708020005270.9342@dhalsim.dreamhost.com>
On Tue, 17 Jul 2007, Fabian Jakobs wrote:
> 
> If I have a text selection in an iframe and select text or click on any 
> element in the parent document the browsers behave like this:
> 
> IE 6/7, Safari3/Webkit:
> The selection in the iframe is cleared.
> 
> FF2 (tested in OSX):
> The selection in the iframe is marked as inactive using a different background
> color
> 
> Opera 9.2 (tested on OSX):
> The selection does not change visually. Text in both documents is selected at
> the same time.
> 
> What is the desired behavior in this case?

It depends on the platform's conventions. It's not really an 
interoperability issue as far as I can tell.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 1 August 2007 17:06:04 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC