WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 16006
15854
Blank Space between <tr> and <td> tags been viewed as a text node.
https://bugs.webkit.org/show_bug.cgi?id=15854
Summary
Blank Space between <tr> and <td> tags been viewed as a text node.
vasantha
Reported
2007-11-06 02:45:58 PST
Select Shift Bid Admin. Select Filter Shift Bid icon Select staff group ACT2S (AC AMR T2 Sacramento) Find ACT2 Sac in list, select the edit icon (pencil) in the Option column to the right of ACT2 Sac Click on on the Class Assignment tab In Sequence column, find number 1. Two column to the left of Sequence 1 column will be a box. In the box, click on it, so it can be checked. Near the bottom of this window, you will see the Assigned Class button. Click on Assigned Class button. If it actually worked, you would see a Class assigned to Sequence1. This would be seen one column to the left of the Sequence 1 column.
Attachments
Test Case:
(1.71 KB, text/html)
2007-11-06 16:42 PST
,
rachna Gupta
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2007-11-06 04:17:27 PST
Is there a Radar for this issue as well?
rachna Gupta
Comment 2
2007-11-06 16:42:29 PST
Created
attachment 17068
[details]
Test Case:
mitz
Comment 3
2007-11-06 17:47:42 PST
For what it's worth, <
http://trac.webkit.org/projects/webkit/changeset/21720
> is the change that allowed whitespace-only text nodes in table rows (and some other places inside tables).
rachna Gupta
Comment 4
2007-11-14 17:17:51 PST
Comment on
attachment 17068
[details]
Test Case: Blank Space between <tr> and <td> tags been viewed as a text node.
vasantha
Comment 5
2007-11-14 17:27:33 PST
The blank space given between the HTML tags like <tr> and <td> is viewed as a text node.As a result accessing the object firstChild.firstChild was returning a null value in Leopard.
rachna Gupta
Comment 6
2007-11-15 16:38:46 PST
Comment on
attachment 17068
[details]
Test Case: <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>
rachna Gupta
Comment 7
2007-11-15 16:41:44 PST
Comment on
attachment 17068
[details]
Test Case: <HTML> <HEAD> <title>firstparagraph</title> <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 node."); alert(obj[0].firstChild.firstChild+"\n"); // alert("firstChild.firstChild.nodeValue="+obj[0].firstChild.firstChild.nodeValue); } </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>
David Kilzer (:ddkilzer)
Comment 8
2007-11-15 22:21:15 PST
***
Bug 16006
has been marked as a duplicate of this bug. ***
David Kilzer (:ddkilzer)
Comment 9
2007-11-15 22:25:08 PST
Vasantha and Rachna: Why is this fix needed? Obviously there's a reason you're posting these bugs. Please contact the Safari team directly (Darin Adler or Maciej Stachowiak) if the reason can't be posted publicly. Also, please provide a Radar number (in this bug) since you've added the InRadar keyword. Thanks!
David Kilzer (:ddkilzer)
Comment 10
2007-11-15 23:56:01 PST
Per user request, reopening
Bug 16006
and marking
Bug 15854
a duplicate of it. *** This bug has been marked as a duplicate of
16006
***
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