Closed Bug 265638 Opened 20 years ago Closed 20 years ago

View Source does not show ACTUAL source in at least one case

Categories

(Core :: DOM: HTML Parser, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 43267

People

(Reporter: jeff, Unassigned)

Details

(Whiteboard: DUPEME)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

I happened to notice that there is at least one case in which "View Source" does
not show the ACTUAL source code.  I just happened to have the following invalid
source code in an HTML file:

<h2">Foo</h2>

When I viewed this source in Firefox, it shows up as:

<h2>Foo</h2>

This code was causing bad rendering in IE, but since I do most of my work in
Firefox, it was impossible to spot this error in Firefox.

Reproducible: Always
Steps to Reproduce:
1. Create an HTML file containing only: <h2">Foo</h2>
2. Open in Firefox
3. View Source

Actual Results:  
View source window showed:

<h2>Foo</h2>

Expected Results:  
View Source window should have shown:

<h2">Foo</h2>
This might be a dup of bug 70828.
Component: View Source → HTML: Parser
Product: Firefox → Browser
Version: unspecified → 1.7 Branch
Assignee: bugs → parser
QA Contact: firefox.view-source → mrbkap
Similar to bug 262562, which was marked duplicate of bug 43267.
Whiteboard: DUPEME
Yeah, it's a dupe. The fixes for these sorts of bugs are too risky to be put on
the 1.0 branch, so Firefox 1.0 will still have these.

*** This bug has been marked as a duplicate of 43267 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.