Bug Tracker

Modify

Ticket #1206 (closed bug: invalid)

Opened 6 years ago

Last modified 6 years ago

Turning on designMode from within $(document).ready() broken

Reported by: sebwin Owned by:
Priority: major Milestone: 1.1.4
Component: event Version: 1.1.3
Keywords: designMode Cc:
Blocking: Blocked by:

Description

Applies to Gecko browsers. (at least Safari works fine)

Usage:

$(document).ready(function(){
  document.designMode = 'on';
});

When applied to the _top document this causes a mozilla browser to display a blank page.
When applied to an iFrame it has no effect whatsoever.

Change History

comment:1 Changed 6 years ago by john

  • Status changed from new to closed
  • Version changed from 1.1.2 to 1.1.3
  • Resolution set to invalid
  • Milestone changed from 1.1.3 to 1.1.4

That's correct - you can't turn on the designMode of the document that you're in. There's really nothing that we can do in this case.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.