Bug Tracker

Opened 7 years ago

Closed 6 years ago

#5864 closed bug (patchwelcome)

.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:
Blocked by: Blocking:


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 (4)

comment:1 Changed 6 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 6 years ago by snover

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

comment:3 Changed 6 years ago by snover

  • Milestone 1.4.1 deleted

comment:4 Changed 6 years ago by dmethvin

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

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.

Note: See TracTickets for help on using tickets.