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@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@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev