Closed Bug 312579 Opened 19 years ago Closed 19 years ago

<textarea /> behaviour broken

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: rink, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050819 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050819 Firefox/1.0.4

If visiting http://rink.nu/tmp/broken.html, you will see that Firefox
incorrectly renders the document content as part of the <textarea> attribute.
However, W3C's validator claims the page is correct XHTML, so this should not
happen. Only elinks (lynx and w3m fail) renders the page correctly of all
browsers I have access to.

Reproducible: Always

Steps to Reproduce:
Visit the URL.
Actual Results:  
You will see part of the document in the textarea, whereas it should appear in
the document.

Expected Results:  
It should support short-tag <textarea /> in which textarea's do not have any
content.

The only solution is to use <textarea></textarea>, which does render fine.
If you want to use XHTML, you need to send the page as application/xhtml+xml,
otherwise it is considered HTML.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.