[Webkit-unassigned] [Bug 75395] New: Erroneous reloading of <object> data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 30 13:09:21 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=75395
Summary: Erroneous reloading of <object> data
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.7
Status: UNCONFIRMED
Severity: Critical
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: david.work at pobox.com
When using <object type='text/html'>, the HTML content is repeatedly 'reloaded' from the URL specified in the data attribute when the CSS display property is toggled between none and block.
For example, it is common to implement tabbed-pane widgets (such as with jQuery) where clicking tab labels shows or hides particular tab pane contents by manipulating the CSS display property via Javascript.
However, if such a child component (in a tab pane, for example) contains an <object type='text/html'> element, WbKit repeatedly re-loads the content from the specified data URL whenever the element is shown.
Hence, for example, if a tab pane is displaying an embedded web-page using <object>, the navigation state - such as the current URL - is lost upon selecting another tab and then returning to the tab in question.
The correct behavior (not to reload the content unless the data attribute is modified via DOM) is implemented by Firefox8 and IE9. This erroneous behavior is also displayed by Chrome17(on Mac) - and Safari 5.1.1 of course.
This use of <object type='text/html'> should behave similar to <iframe> in this respect.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list