Closed Bug 47744 Opened 25 years ago Closed 25 years ago

Page completely messed

Categories

(SeaMonkey :: General, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: devotip, Assigned: asa)

References

()

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20000804 BuildID: 2000080408 The page is completely messed while is properly handled by NN47 and IE5. Reproducible: Always Steps to Reproduce: 1.open http://terraserver.com/OrbCities.asp Actual Results: most of the page content is stuffed in a column on the right of the page Expected Results: proper display of page
confirmed on Linux 2000080308, changing os/plat to all
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
The problem might not be on Mozilla's side. In fact, the document says DTD=HTML4 STRICT while there is plenty of HTML4 LOOSE code in it. In addition the <head> tag is misplaced. Check the URL below: http://validator.w3.org/check?uri=http%3A%2F%2Fbugzilla.mozilla.org%2Fshowattachment.cgi%3Fattach_id%3D12419http://validator.w3.org/check?uri=http%3A%2F%2Fbugzilla.mozilla.org%2Fshowattachment.cgi%3Fattach_id%3D12419
I checked the code of the page more in depth. Even with the DTD loose, there were *plenty* of errors. I corrected them (by commenting out wrong code and adding a comment for inserted tags). I will post the corrected page as an attachment within moments. The person writing the code was *very* careless like writing <html><style></style><head></head> (style should be within the head block) or <tr><td></td></td></tr> (duplicate closing td tag).
While I agree on the fact that is a bogous html page perhaps is safer to handle "at best" what is found in a page. There is a lot of broken stuff around the internet and the common user doesn't know about standard compliance and they care only about what they see on the screen. If is not managed to have a graysful handling of the bogous realworld stuff Mozilla is going to lose a lot of users. I suggest to interpret this bug report as: Is it possible to handle this stuff without breaking the standard? While the standard MUST be supported is it possible to tolerate some of the *very* careless stuff found on the internet?
Devotip is pointing to the right problem. I would say this is a dilemma. Have you ever seen Netscape showing a <input type="button"> when not showing up _inside_ the <form></form> block? Have you ever seen Netscape showing a table when the closing </table> tag was missing? I didn't. And always agreed with that policy. The standards are getting more and more complicated so no need to make programming even more complicated just in order to show pages made by crap html-editors or lousy webmasters. I guess the percentage of bad pages out there is very low, so this would not be worth consideration. Neither Mozilla nor Netscape will loose users, but the companies building such page will loose customers. So I guess they will be the first ones to correct their own bugs... My 2 cents.
OK, here's the deal. The writer of that page explicitely stated HTML 4 strict DTD. Mozilla honors that request. This is not a bug in mozilla. see http://www.people.fas.harvard.edu/~dbaron/mozilla/modes for more info. Marking INVALID
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
makes sense, verf inv
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: