Hi.

As far as I can tell, the whole DOM is traversed every time a movement is
going to happen. I've discussed with Yael briefly on the WebKit summit about
some cache mechanisms, but we could not get a nice heuristic to invalidate
the cache.

Have you profiled it?

On Mon, Oct 17, 2011 at 7:29 AM, Sanjeet Pratap Singh <
sanjeetpratapsi...@gmail.com> wrote:

> Hi All,
> I am a beginner to WebKit, looking into "*Spatial-Navigation*" feature of
> WebKit.
> I am looking further for some optimisations in the same.
>
> I find there "*findFocusCandidateInContainer() "* in which we start
> from first child of "container" and iterate until the we get the focus
> candidate.
>
> My question is,"Are we checking the whole DOM tree to find the closest node
> or we have a small area(container) accordingly?"
>
> What does the function*
> "container=scrollableEnclosingBoxOrParentFrameForNodeInDirection()"* do?
>
>
>
> Waiting for the reply.
>
> Thanks & Regards,
> Sanjeet
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>


-- 
--Antonio Gomes
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to