WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
16006
Blank Space between the HTML tags such as <tr> and <td> tags is viewed as a text node.
https://bugs.webkit.org/show_bug.cgi?id=16006
Summary
Blank Space between the HTML tags such as <tr> and <td> tags is viewed as a t...
rachna Gupta
Reported
2007-11-15 16:52:44 PST
<HTML> <HEAD> <title>firstparagraph</title> <script type="text/javascript"> function trial(obj) { alert(obj[0].firstChild.firstChild+"\n"); } </script> </head> <BODY> <P> We are tesing HTML Document Object Model.<br> Click on the button labelled Clickme. Null as an object should not come.<br> </P> <TABLE id="test1" name="test" border="1" cellspacing="3" width="20%"> <tr> <td>name</td> </tr> <tr> <td><input type="button" id="btn1" name="btn" value="Clickme" onClick=trial(test1.rows); /></td> </tr> </table> </body> </HTML>
Attachments
Test case:HTML DOM
(564 bytes, text/html)
2007-11-15 16:57 PST
,
rachna Gupta
no flags
Details
ReducedTestCase
(1.71 KB, text/html)
2007-11-15 17:02 PST
,
rachna Gupta
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
rachna Gupta
Comment 1
2007-11-15 16:57:53 PST
Created
attachment 17305
[details]
Test case:HTML DOM
rachna Gupta
Comment 2
2007-11-15 17:02:23 PST
Created
attachment 17307
[details]
ReducedTestCase
Dave Hyatt
Comment 3
2007-11-15 19:35:09 PST
Not sure I understand this. It was a deliberate fix to start including whitespace nodes in tables in the DOM (and matches Firefox).
David Kilzer (:ddkilzer)
Comment 4
2007-11-15 22:21:15 PST
*** This bug has been marked as a duplicate of
15854
***
David Kilzer (:ddkilzer)
Comment 5
2007-11-15 23:55:38 PST
Per user request, reopening
Bug 16006
and marking
Bug 15854
a duplicate of it.
David Kilzer (:ddkilzer)
Comment 6
2007-11-15 23:56:01 PST
***
Bug 15854
has been marked as a duplicate of this bug. ***
Darin Adler
Comment 7
2007-11-16 08:23:27 PST
The new behavior is correct and matches other browsers. This is not a bug.
Dave Hyatt
Comment 8
2007-11-25 15:10:52 PST
That's right.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug