[whatwg] Text selection in IFrames

Ian Hickson ian at hixie.ch
Wed Aug 1 17:06:04 PDT 2007


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list