Bug Tracker

Modify

Ticket #5864 (closed bug: patchwelcome)

Opened 4 years ago

Last modified 3 years ago

.attr with iframe doesn't work correctly in IE and Opera

Reported by: caimano Owned by:
Priority: low Milestone:
Component: attributes Version: 1.4
Keywords: iframe attr Cc:
Blocking: Blocked by:

Description

The syntax .attr('scrolling','no') to iframe doesn't work in IE 6-8 and Opera (works ok in Firefox 2-3 and Chrome). Iframe remains with the previous setting [scrolling = auto]

Change History

comment:1 Changed 4 years ago by snover

Apparently, IE does not allow JS to change this attribute on an iframe after it has been created no matter what. In order to fix this, we would need to create the iframe element or something.  test case

comment:2 Changed 4 years ago by snover

  • Keywords needsreview added
  • Priority changed from major to low
  • Status changed from new to open
  • Component changed from core to attributes

comment:3 Changed 4 years ago by snover

  • Milestone 1.4.1 deleted

comment:4 Changed 3 years ago by dmethvin

  • Keywords needsreview removed
  • Status changed from open to closed
  • Resolution set to patchwelcome

It doesn't seem practical to recreate the iframe in order to change the scrolling attribute. If someone has an idea for a reasonable patch that doesn't impact performance, feel free to contact us by reopening the ticket. If this problem is affecting you, register on Trac and vote for a patch, above.

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.