Closed Bug 485870 Opened 16 years ago Closed 15 years ago

render the tag when it is included in DTDTYPE strings

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: tnttools, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 XPCOMViewer/1.0a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 XPCOMViewer/1.0a1 it's easy to trigger. the below source is rendered with a horizontal line and a string ">. Notice, the dtd file string is appended by the tag <HR>. ------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd<HR>"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> </head> </html> ------------------------------------- Reproducible: Always Actual Results: a tag in DOCTYPE strings can be rendered. Expected Results: any tag in DOCTYPE strings should be ignored.
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → parser
This will be resolved (either FIXED or WONTFIX) by html5. I don't think it's worth changing the existing parser at this point.
Status: UNCONFIRMED → NEW
Depends on: html5-parsing
Ever confirmed: true
WONTFIXing per the HTML5 spec.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.