Closed
Bug 417069
Opened 17 years ago
Closed 15 years ago
FFX displays HTML code, not page when viewed offline with <!DOCTYPE> specified
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: office, Unassigned)
Details
(Whiteboard: [CLOSEME 2010-07-30])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Firefox appears to have a bug. I installed a new web development program that is designed to be W3C compliant and inserts the <DOC> code at the top of each page. When attempting to view any of these pages locally Firefox only shows them as the raw HTML not as web pages. IE displays them correctly.
If I manually edit the page to delete the <! DOCTYPE > code the page will work.
(Not really an option)
I first enquired at W3C to determine the correct placement for this tag and it is correct per W3C standards. It seems to be Firefox that does not allow local viewing with this code inserted.
When the page is uploaded to a web server it is displayed properly.
I could not find this issue reported.
Reproducible: Always
Steps to Reproduce:
Load page locally into Firefox. Page has:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
at top.
Actual Results:
With the specified code in page, Firefox displays only the HTML/ext code of the page.
Expected Results:
Should render the web page as a normal page.
As a developer I like to be able to switch views between Firefox and IE to assure mutual compatibility but with Firefox not letting me view pages off line it is a real problem.
| Reporter | ||
Updated•17 years ago
|
Severity: normal → major
Comment 1•15 years ago
|
||
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 2.0 Branch
Comment 2•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•