Closed Bug 345269 Opened 19 years ago Closed 19 years ago

<textarea /> renders erronous page (<textarea></textarea> renders fine)

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 339637

People

(Reporter: agro1986, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 When we close a textarea tag using <textarea />, all characters after it is regarded as a value of the textarea. For example: <textarea name="message" /> <p>Mood</p>... The textarea will be rendered as: --------------------- | <p>Mood</p>... | | | --------------------- The problem does not appear if we replace <textarea/> with <textarea></textarea> Reproducible: Always
Dupe of bug 339637 (which is probably a dupe of an earlier bug itself).
Yeah there are a ton of bugs (ever since XHTML was first introduced) where people have tried using the short form of a tag which isn't allowed by the HTML parser (except for empty tags like br). The XML parser handles it correctly. The HTML parser has this restriction to keep people from sending these short form tags to older HTML user agents is the reasoning I've seen here in bugzilla. *** This bug has been marked as a duplicate of 339637 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.