Open
Bug 319626
Opened 20 years ago
Updated 3 years ago
View Selection Source for XML is parsed as HTML
Categories
(Toolkit :: View Source, defect)
Tracking
()
NEW
People
(Reporter: zcorpan, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051130 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051130 Firefox/1.6a1
The View Selection Source code should tell the parser
that it's parsing XML for XML documents.
Reproducible: Always
Steps to Reproduce:
1. Open data:application/xml,<p
xmlns="http://www.w3.org/1999/xhtml">foo<br/>bar</p>
2. Select All
3. View Selection Source
Actual Results:
The slash is red.
Expected Results:
The slash should be the same color as the angle brackets (black).
Comment 1•20 years ago
|
||
WFM with 1.5 build, but fails with a trunk build. Is it a trunk regression?
Comment 2•19 years ago
|
||
Confirming bug, it's present in a recent trunk build. The test case is trivial to verify.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
| Assignee | ||
Updated•18 years ago
|
Product: Firefox → Toolkit
Comment 3•16 years ago
|
||
Seems to occur for my site in all versions of firefox, even as of 3.6 (beta.grantgalitz.com). As the site is in true XHTML (application/xhtml+xml), but the dom source is highlighted clearly as html.
Updated•3 years ago
|
Severity: trivial → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•