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:

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

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

Component: coreattributes
Keywords: needsreview added
Priority: majorlow
Status: newopen

comment:3 Changed 7 years ago by snover

Milestone: 1.4.1

comment:4 Changed 6 years ago by dmethvin

Keywords: needsreview removed
Resolution: patchwelcome
Status: openclosed

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.