Skip to main content

Bug Tracker

Side navigation

#3656 closed bug (invalid)

Opened November 27, 2008 01:23PM UTC

Closed November 27, 2008 01:53PM UTC

iframe focus differs in browsers

Reported by: naugtur Owned by: flesler
Priority: minor Milestone: 1.3
Component: event Version: 1.2.6
Keywords: iframe focus Cc: naugtur
Blocked by: Blocking:
Description

Problem can be seen when working on linux. Firefox for linux seems to act strange when jquery troggers focus on an iframe in design mode. I went over that with focusing the content window. That works only for firefox.

theEFra=$('#editframe'); iframe

theEFra.get(0).contentWindow.document.designMode = "On"; works for both

theEFra.get(0).contentWindow.focus(); only firefox focuses (tested on ff2 fedora)

theEFra.trigger('focus'); only opera focuses (tested on o 9.27 fedora)

and this

$(theEFra.get(0).contentWindow).trigger('focus');

works in ff* and the newest opera (not tested on releases between 9.27 and 9.6)

Attachments (0)
Change History (1)

Changed November 27, 2008 01:53PM UTC by flesler comment:1

cc: → naugtur
component: unfilledevent
resolution: → invalid
status: newclosed

I think this is too specific to deserve a special hack in the core.

If you want, do consult this on jQuery's google group and we'll see.