[Webkit-unassigned] [Bug 13118] New: Safari does not load page in iframe if the frame display is none
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 19 09:04:41 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=13118
Summary: Safari does not load page in iframe if the frame display
is none
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh PowerPC
URL: http://www.scottwickham.com/nyl/tabs/tab7.html
OS/Version: All
Status: UNCONFIRMED
Severity: Critical
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: scottus at gmail.com
I used both innerHTMl and DOM methods to add an iframe to my page.
document.getElementById('loadiframe').innerHTML ='<iframe id="frame1"
src="frame.html" style="display:none"></iframe>';
If the display was equal to none. Safari refused to load frame.html. Just
because it is not displayed doesn't mean it shouldn't be loaded and a full
member of the DOM.
In my specific example frame.html would be loaded and the script in the
frame.html would be executed which would then modify the main page. Safari
never executes the script, nore does it report a javascript error. It just
totally ignores the page unless display is not equal to none.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list