[webkit-changes] cvs commit: WebCore/khtml/html html_baseimpl.cpp
Vicki
vicki at opensource.apple.com
Tue Jul 12 12:04:28 PDT 2005
vicki 05/07/12 12:04:27
Modified: . Tag: Safari-1-3-branch ChangeLog
khtml/html Tag: Safari-1-3-branch html_baseimpl.cpp
Log:
- merge this fix from HEAD
2005-07-11 Geoffrey Garen <ggaren at apple.com>
-fixed rdar://problem/4170960
http://bugzilla.opendarwin.org/show_bug.cgi?id=3952
iFrame name and id information incorrectly returned
Reviewed by mjs.
* khtml/html/html_baseimpl.cpp:
(HTMLFrameElementImpl::attach): removed misleading comment
(HTMLIFrameElementImpl::attach): copied FrameElementImpl behavior
for initializing m_name
Revision Changes Path
No revision
No revision
1.4108.4.22 +17 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4108.4.21
retrieving revision 1.4108.4.22
diff -u -r1.4108.4.21 -r1.4108.4.22
--- ChangeLog 12 Jul 2005 18:26:15 -0000 1.4108.4.21
+++ ChangeLog 12 Jul 2005 19:04:19 -0000 1.4108.4.22
@@ -1,3 +1,20 @@
+2005-07-12 Vicki Murley <vicki at apple.com>
+
+ - merge this fix from HEAD
+
+ 2005-07-11 Geoffrey Garen <ggaren at apple.com>
+
+ -fixed rdar://problem/4170960
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=3952
+ iFrame name and id information incorrectly returned
+
+ Reviewed by mjs.
+
+ * khtml/html/html_baseimpl.cpp:
+ (HTMLFrameElementImpl::attach): removed misleading comment
+ (HTMLIFrameElementImpl::attach): copied FrameElementImpl behavior
+ for initializing m_name
+
2005-07-12 Adele Peterson <adele at apple.com>
Merged fix from TOT to Safari-1-3-branch
No revision
No revision
1.68.6.1 +4 -2 WebCore/khtml/html/html_baseimpl.cpp
Index: html_baseimpl.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/html/html_baseimpl.cpp,v
retrieving revision 1.68
retrieving revision 1.68.6.1
diff -u -r1.68 -r1.68.6.1
--- html_baseimpl.cpp 3 Mar 2005 00:30:32 -0000 1.68
+++ html_baseimpl.cpp 12 Jul 2005 19:04:27 -0000 1.68.6.1
@@ -413,8 +413,6 @@
void HTMLFrameElementImpl::attach()
{
- // we should first look up via id, then via name.
- // this shortterm hack fixes the ugly case. ### rewrite needed for next release
name = getAttribute(ATTR_NAME);
if (name.isNull())
name = getAttribute(ATTR_ID);
@@ -759,6 +757,10 @@
void HTMLIFrameElementImpl::attach()
{
+ name = getAttribute(ATTR_NAME);
+ if (name.isNull())
+ name = getAttribute(ATTR_ID);
+
HTMLElementImpl::attach();
KHTMLPart *part = getDocument()->part();
More information about the webkit-changes
mailing list