[webkit-changes] cvs commit: WebCore/khtml/html html_objectimpl.cpp
Timothy
thatcher at opensource.apple.com
Wed Nov 9 14:51:33 PST 2005
thatcher 05/11/09 14:51:33
Modified: . Tag: Safari-1-3-branch ChangeLog
khtml/html Tag: Safari-1-3-branch html_objectimpl.cpp
Log:
Merged fix from TOT to Safari-1-3-branch
2005-09-16 Tim Omernick <tomernick at apple.com>
Reviewed by Dave Hyatt. Test case reviewed by Vicki Murley.
<rdar://problem/3572507> Flash in div with display:none style will not redraw when style changed to display:block (3479)
Test cases added:
* manual-tests/show-hide-object.html: Added.
* manual-tests/resources/spinbox.swf: Added.
* khtml/html/html_objectimpl.cpp:
(DOM::HTMLObjectElementImpl::detach):
Set needWidgetUpdate to true so that the widget is updated on the next attach().
Revision Changes Path
No revision
No revision
1.335.2.4 +18 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.335.2.3
retrieving revision 1.335.2.4
diff -u -r1.335.2.3 -r1.335.2.4
--- ChangeLog 4 Nov 2005 20:11:54 -0000 1.335.2.3
+++ ChangeLog 9 Nov 2005 22:51:28 -0000 1.335.2.4
@@ -1,3 +1,21 @@
+2005-11-09 Timothy Hatcher <timothy at apple.com>
+
+ Merged fix from TOT to Safari-1-3-branch
+
+ 2005-09-16 Tim Omernick <tomernick at apple.com>
+
+ Reviewed by Dave Hyatt. Test case reviewed by Vicki Murley.
+
+ <rdar://problem/3572507> Flash in div with display:none style will not redraw when style changed to display:block (3479)
+
+ Test cases added:
+ * manual-tests/show-hide-object.html: Added.
+ * manual-tests/resources/spinbox.swf: Added.
+
+ * khtml/html/html_objectimpl.cpp:
+ (DOM::HTMLObjectElementImpl::detach):
+ Set needWidgetUpdate to true so that the widget is updated on the next attach().
+
=== WebCore-315.10.1 ===
2005-11-03 Timothy Hatcher <timothy at apple.com>
No revision
No revision
1.60.6.1 +6 -2 WebCore/khtml/html/html_objectimpl.cpp
Index: html_objectimpl.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/html/html_objectimpl.cpp,v
retrieving revision 1.60
retrieving revision 1.60.6.1
diff -u -r1.60 -r1.60.6.1
--- html_objectimpl.cpp 10 Mar 2005 21:09:24 -0000 1.60
+++ html_objectimpl.cpp 9 Nov 2005 22:51:32 -0000 1.60.6.1
@@ -565,11 +565,15 @@
void HTMLObjectElementImpl::detach()
{
// Only bother with an unload event if we had a render object. - dwh
- if (attached() && m_render)
+ if (attached() && m_render) {
// ### do this when we are actualy removed from document instead
dispatchHTMLEvent(EventImpl::UNLOAD_EVENT,false,false);
+
+ // Update the widget the next time we attach (detaching destroys the plugin).
+ needWidgetUpdate = true;
+ }
- HTMLElementImpl::detach();
+ HTMLElementImpl::detach();
}
void HTMLObjectElementImpl::recalcStyle(StyleChange ch)
More information about the webkit-changes
mailing list