[Webkit-unassigned] [Bug 15854] Blank Space between <tr> and <td> tags been viewed as a text node.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 16:41:44 PST 2007


------- Comment #7 from rachna.gupta at apple.com  2007-11-15 16:41 PDT -------
(From update of attachment 17068)


<script type="text/javascript">
 function trial(obj)

                 // alert("OBJECT firstChild ="+obj[0].firstChild+"\n\n"+
                 //             "Accessing the element node <td> which is the
child node of <tr> using the Object ,\n tableId.rows[0].firstChild shows a text
object "+
                 //         "rather than HTML TABLE CELL ELEMENT as in IE
because Leopard views even the BLANK space between <tr> and <td> tag as a text




<P> We are tesing HTML Document Object Model.<br>
  Click on the button labelled Clickme.  Null as an object should not come.<br>
<TABLE id="test1" name="test" border="1" cellspacing="3" width="20%"> 
        <td><input type="button" id="btn1" name="btn"  value="Clickme"
onClick=trial(test1.rows); /></td>


Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list