Closed Bug 296495 Opened 20 years ago Closed 20 years ago

the content of a textarea doesn't appear the same as code source

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nico, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Using document.write in a textarea affect the print content of it.
Go to the following url : http://jujut.free.fr/Bugs/bugtextarea.html
IE and others browsers print the full content of textarea 
whereas Firefox cut the code and it is not the same as source code 

<textarea>
document.write('</z'+'BUG: what you write here does not appear on firefox ; z
can be replace by any letter');
</textarea>



Here is a sample :
<textarea>
document.write('</z'+'BUG: what you write here does not appear on firefox ; z
can be replace by any letter');
</textarea>



Reproducible: Always

Steps to Reproduce:
1. write the textarea in an html page
2. view this page with Firefox
3.

Actual Results:  
textarea doesn t print the full text

Expected Results:  
document.write('</z>
Works for me in Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050602
Firefox/1.0+

If possible could you test this in Deer Park Alpha 1 or a Firefox nightly?
this bug is corrected with Deer Park Alpha 1
(In reply to comment #2)
> this bug is corrected with Deer Park Alpha 1

OK, this is probably a duplicate of another bug but since I can't find it I'm
just going to mark this bug as WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.