Closed
Bug 212795
Opened 21 years ago
Closed 21 years ago
New frontpage of www.mozilla.org doesn't validate
Categories
(www.mozilla.org :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: chrislaco, Assigned: bugs)
References
()
Details
Attachments
(1 file, 1 obsolete file)
2.04 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 Page won't validate as valid HTML4 due to missing type attribute of a script tag withint the body ot the document. Reproducible: Always Steps to Reproduce: 1. Open browser 2. Go to http://www.mozilla.org/index.html 3. View Source Index: mozilla-org/html/index.html =================================================================== RCS file: /cvsroot/mozilla-org/html/index.html,v retrieving revision 1.342 diff -u -r1.342 index.html --- mozilla-org/html/index.html 15 Jul 2003 19:02:20 -0000 1.342 +++ mozilla-org/html/index.html 15 Jul 2003 20:05:59 -0000 @@ -6,6 +6,7 @@ <html> <head> <title>mozilla.org</title> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <link type="text/css" rel="stylesheet" href="frontpage/styles.css"> <style type="text/css"> a img { @@ -175,19 +176,19 @@ <td valign="top" width="*" class="bodyCell" bgcolor="#FFFFFF"> <div id="dateBox"> - <script> + <script type="text/javascript"> var date = new Date(); var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; document.write(months[date.getMonth()] + " " + date.getDate() + ", " + date.getFullYear()); - </script type="text/javascript"> + </script> </div> <div id="foundationBox"> <h3>Mozilla Foundation</h3> <p>The <a href="http://www.mozillafoundation.org/">Mozilla Foundation</a> is a new non-profit organization that will serve - as the home for mozilla.org. As before, mozilla.org will coordinate and - encourage the development and testing of Mozilla code. The Mozilla + as the home for mozilla.org. As before, mozilla.org will coordinate and + encourage the development and testing of Mozilla code. The Mozilla Foundation will also promote the distribution and adoption of our flagship applications based on that code. AOL, Sun Microsystems, Red Hat, and other companies will continue to support Mozilla through the Foundation.</p>
Reporter | ||
Comment 1•21 years ago
|
||
Should have done this instead of pasting it into the description. Sorry about that. This patch also includes the missing met tag for content-type. The w3c validator does noe see a content-type header or meta tag.
Comment 2•21 years ago
|
||
*** Bug 212794 has been marked as a duplicate of this bug. ***
Comment 3•21 years ago
|
||
We can't use the metatag. It'll break Netscape 4. The server-side charset header will hopefully be fixed when it moves to new hardware in a couple weeks.
Summary: type attribute in </script> instead of in <script> → New frontpage of www.mozilla.org doesn't validate
Comment 4•21 years ago
|
||
*** Bug 212800 has been marked as a duplicate of this bug. ***
Comment 5•21 years ago
|
||
this has already been fixed. http://validator.w3.org/check?uri=http%3A%2F%2Fmozilla.org%2F&doctype=%28detect+automatically%29&charset=iso-8859-1+%28Western+Europe%29 the charset issue is bug 154570.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 6•21 years ago
|
||
Also lacking page icon. (I didn't want to file a whole bug on such a little thing) <link rel="icon" href="images/mozilla-16.png" type="image/png">
Comment 7•21 years ago
|
||
once again, mozilla.org doesn't validate. see revision 1.353 (ben goodger) - the border=0 on the <input type="image"> and a stray </p> are causing problems.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 8•21 years ago
|
||
attaching the changes needed to make it validate. (ignoring the charset issue)
Attachment #127830 -
Attachment is obsolete: true
Comment 10•21 years ago
|
||
*** Bug 213412 has been marked as a duplicate of this bug. ***
Comment 11•21 years ago
|
||
*** Bug 213498 has been marked as a duplicate of this bug. ***
Comment 12•21 years ago
|
||
dbaron fixed this
Status: NEW → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Comment 13•21 years ago
|
||
why has this bug been verified fixed when it clearly still doesn't validate ? i quote the validator... 'I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to validate the document.' It only takes one line to fix that, why didn't that make the patch ?
Comment 14•21 years ago
|
||
v. as mentioned in comment 5, the charset issue is bug 154570.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: mozilla.org → Websites
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•