Closed
Bug 1074549
Opened 10 years ago
Closed 10 years ago
modifications to the DOM inside a new iframe disappear
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 543435
People
(Reporter: jonathantneal, Unassigned)
Details
(Whiteboard: DUPEME)
Attachments
(1 file)
329 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36
Steps to reproduce:
I appended an iframe to a document.
I added content to that iframe's document.
Actual results:
The iframe displayed no content.
Expected results:
The iframe should have displayed its content.
Comment 1•10 years ago
|
||
Is this about the initial about:blank and the next about:blank?
Component: Layout → DOM
Reporter | ||
Comment 2•10 years ago
|
||
I think so, yes. I have observed that while content either flashes briefly or never appears at all, the listeners on the iframe's window persist, which makes me think the browser is loading one document and then dumping it for another.
In the end, the spec isn't being followed, nor is the behavior consistent with other browsers.
http://dev.w3.org/html5/spec-preview/the-iframe-element.html
![]() |
||
Comment 3•10 years ago
|
||
This is a known issue with initial about:blank. Waiting until the load event on the iframe fires before modifying its DOM is a workaround if one is needed for now...
Whiteboard: DUPEME
![]() |
||
Updated•10 years ago
|
Summary: iframe generated content disappears → modifications to the DOM inside a new iframe disappear
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•