Skip to main content

Bug Tracker

Side navigation

#5864 closed bug (patchwelcome)

Opened January 19, 2010 09:49AM UTC

Closed November 11, 2010 02:14AM UTC

.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]

Attachments (0)
Change History (4)

Changed September 30, 2010 03:13AM UTC by snover comment:1

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

Changed October 20, 2010 11:14PM UTC by snover comment:2

component: coreattributes
keywords: iframe attriframe attr needsreview
priority: majorlow
status: newopen

Changed October 20, 2010 11:14PM UTC by snover comment:3

milestone: 1.4.1

Changed November 11, 2010 02:14AM UTC by dmethvin comment:4

keywords: iframe attr needsreviewiframe attr
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.