Hi,

Thanks for your answers.

I am looking for some way to reduce the whole DOM traversal.
Meanwhile, I am trying for multi-threading in Spatial Navigation.
So, in the same context, have you experienced any place in Sp. Navigation,
which needs multiple threads for a better response.


Thanks & Regards,
Sanjeet

On Wed, Oct 19, 2011 at 7:49 PM, Antonio Gomes <toniki...@gmail.com> wrote:

> Hi
>
> 1) When we use spatial navigation, to find the nearest node it traverse DOM
>> tree, is that node information can not be retrieved from render tree?
>>
>>
> As per my understanding render tree (after layout) will have the position
>> information for each node.
>>
>
> Code tranverses the DOM, yes, but it gets the position information from the
> associated node renderer. So it gets it from the RenderTree.
>
> So is there any way we can get the nodes information of any particular
>> area.
>>
>
> Not sure if I understood you here. Could you  elaborate?
>
> 2) If from render tree we can get the nodes according to position then we
>> can skip the traversing of whole DOM tree.
>>
>
> If the RenderTree can tell us what elements in the DOM tree are 'focusable'
> (which I do not think it can), yes.
>
>
>>
>> 3) Is Spatial navigation is related to Hit testing?
>>
>
> Not at the moment.
>
>
> --
> --Antonio Gomes
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to