Closed Bug 404954 Opened 17 years ago Closed 17 years ago

textarea doesn't accept XHTML-style empty element tag

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 162653

People

(Reporter: csmiller, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

With this HTML fragment
    <form>
      <textarea name="log" rows="20" columns="50" />
    </form>
    This text should be below the text area


the textarea tag isn't closed by the />, and the rest of the HTML appears in the text area. Since the document is XHTML the textarea should be closed.

IE 6 also gets this wrong; Opera 9 closes the textarea and displays the rest of the HTML.




Reproducible: Always

Steps to Reproduce:
Load the attached document
Actual Results:  
There will be text inside the textarea control

Expected Results:  
There shouldn't. The rest of the HTML will be parsed.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: