Google Suggest
Allan Sandfeld Jensen
kde at carewolf.com
Wed Apr 27 11:54:19 CEST 2005
On Wednesday 27 April 2005 02:24, Darin Adler wrote:
> I did implement frameElement to fix Google Suggest, a couple days back.
>
> But your version doesn't look like ours. In particular, it looks like
> it's returning the parent window. That's not what the frame element
> is. It's the element inside the parent window that contains the
> frame. Here's our implementation.
>
Oops. I gave you the wrong version of the patch, but it can still be done a
lot simpler than you do. Here is the current version:
case FrameElement:
if (m_frame->m_frame)
return getDOMNode(exec,m_frame->m_frame->element());
else
return Undefined();
`Allan
More information about the Khtml-devel
mailing list