Closed Bug 209980 Opened 22 years ago Closed 22 years ago

If TextNode.nodeValue.length > 8191, it is truncated to 4096 bytes

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 194231

People

(Reporter: george, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612 If TextNode.nodeValue.length > 8191, it is trancated to 4096 bytes. Element.innerHTML behaves correctly. Reproducible: Always Steps to Reproduce: 1. create an element with 8192 characters 2. observe document.getElementById(containingElementId).firstChild.nodeValue.length (see http://injavascript.com/bugs/mozilla/nodeValue/) Actual Results: nodeValue.length became 4096 Expected Results: nodeValue.length should have been 8192
Summary: If TextNode.nodeValue.length > 8191, it is trancated to 4096 bytes → If TextNode.nodeValue.length > 8191, it is truncated to 4096 bytes
*** This bug has been marked as a duplicate of 194231 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: DOM: Core → DOM: Core & HTML
QA Contact: desale → general
You need to log in before you can comment on or make changes to this bug.