Closed Bug 307183 Opened 19 years ago Closed 19 years ago

Textarea renders incorrectly with invalid HTML as data

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: blenblen, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 In the example above (www.benandshannon.com/error.html) you can see that when you have some invalid HTML inside your textarea then the entire page renders incorectly. The page should contain two textarea's and the first should have the text <table><tr id="> inside it. Reproducible: Always Steps to Reproduce: 1. Have a TEXTAREA element which contains some invalid HTML 2. View the page using Firefox 3. Actual Results: TextArea renders with a block of HTML inside it (including the </textarea> tag) Expected Results: Treated the contents of the textarea as plain text. If you dont have any HTML in the textarea it works fine. Anything of the format <x=" with incomplete quotes generally breaks.
Assignee: nobody → parser
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → mrbkap
Version: unspecified → Trunk
WFM: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050905 Firefox/1.0+ Probably a duplicate of bug 227358.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.