[webkit-dev] About Dom tree

Kyounga Ra kyounga.ra at gmail.com
Mon Jan 5 01:40:43 PST 2009


I think you're confused with the relationship in dom tree and visual
relationship like box tree.
The "map" element  affect "img" element in visualization.
I guess, your idea comes from this.

But, the relationship in DOM tree is made without the visual relationship.

Otherwise, the visualization (is called rendering the document) is affected
by DOM tree.

Is it enough explanation?

Kyounga
2008/12/31 zhenghe zhang <zhenghe.zhang at gmail.com>

> Hi
>        I am studying the "webkit", and now I have a question , I hope you
> tell me , thank you!
>
> As follows:
>
>  <table width="640" height="530" border="0" cellpadding="0"
> cellspacing="0">
>  <tr>
>    <td><img src="images/index.jpg" usemap="#Map" border="0"></td>
>  </tr>
> </table>
> <map name="Map">
>  <area shape="rect" coords="110,108,294,148"
> href="column.jsp?columnid=JINGCAIDAODU">
> </map>
>
> I think the map's parent is the "img", but others don't agree with me.
> Please tell me the detail on the basic of DOM tree.
>
> Thanks
> zh
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090105/4089e8f1/attachment.html>


More information about the webkit-dev mailing list