Closed Bug 280026 Opened 20 years ago Closed 20 years ago

Text node max length limited to 4K

Categories

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

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 194231

People

(Reporter: math.parent, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0

Mozilla's maximum size for a text node is 4K.
When parsing an HTML document, long text are splitted into several 4K nodes.



Reproducible: Always

Steps to Reproduce:
1. go to the URL 
2. Click on the big paragraph
Actual Results:  
Only the first 4K of text are copied. Message:4096 

Expected Results:  
The 64K should be copied. Message:66249.

Mozilla's maximum size for a text node is 4K,
Opera's is 32K,
Explorer Mac seems to have a 64K limit.

(source: www.quirksmode.org)

*** This bug has been marked as a duplicate of 194231 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.