Closed
Bug 15904
Opened 25 years ago
Closed 25 years ago
Problems with text manipulation on comment nodes
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: dbaron, Assigned: waqar)
References
()
Details
DESCRIPTION: There are serious problems using the CharacterData interfaces on comment nodes. Basically, any call to insertData(), appendData(), or deleteData() causes the first character in the comment to disappear. STEPS TO REPRODUCE: * load http://www.fas.harvard.edu/~dbaron/dom/test/one-core-html/Comment * run tests ACTUAL RESULTS: Lots of red. Each progressive actual result after the first section has one fewer character at the beginning. EXPECTED RESULTS: Green. DOES NOT WORK CORRECTLY ON: * Linux, apprunner, 1999-10-08-08-M11 ADDITIONAL INFORMATION: In XML, the problem even shows up for the *initial value* of Comment::data. See http://www.fas.harvard.edu/~dbaron/dom/test/one-core-xml/Comment
Updated•25 years ago
|
Assignee: vidur → waqar
Comment 1•25 years ago
|
||
Assigning to Waqar for initial investigation.
A fixed checked in. The problem now is Kipps code changes for nsGenericDOMDataNode::AppendData method. With my changes and the old code it works fine. Then change I made was to nsCommentNode.cpp.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 5•25 years ago
|
||
Reopening this one based on Linux mozilla 1999-11-13-08-M12. There's still something wrong with appendData. That's why two lines in the test page are still red.
Resolution: FIXED → ---
Reporter | ||
Comment 6•25 years ago
|
||
Reopening this one based on Linux mozilla 1999-11-13-08-M12. There's still something wrong with appendData. That's why two lines in the test page are still red.
Reporter | ||
Comment 7•25 years ago
|
||
There is also a problem visible in (the second button of) http://www.fas.harvard.edu/~dbaron/dom/test/one-core-html/Document . Could this have something to do with one-byte versus two-byte characters?
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Component: DOM Level 1 → DOM HTML
Comment 12•23 years ago
|
||
verified...i do not see any red lines in the testcases
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in
before you can comment on or make changes to this bug.
Description
•