Closed Bug 23255 Opened 25 years ago Closed 23 years ago

content inside table but not in table cells (bad html) cause random behavior

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 101148
Future

People

(Reporter: akkzilla, Assigned: dcone)

References

()

Details

(Keywords: compat)

The given url has a <table> tag, and then proceeds to put lots of non-table
content inside the table tag.  4.61 displays this just fine.

In mozilla, I see undefined behavior: every time I reload the page, it looks
different.  Sometimes none of the images are shown, sometimes some of them are.
But worse, layout seems confused about what images went where; if I click on one
of the images that does get displayed, I get taken to a link for one of the
other images, not the url corresponding with the image I actually clicked on.

I can understand not supporting pages with bad html, and this page has very bad
html (though if we're going to barf on a page, it might be a good idea to flash
a warning somewhere saying that the page had bad html, so the user knows it
isn't entirely mozilla's fault); but what the user will see in this case is that
mozilla behaves randomly, can't display things that other browsers display just
fine, and goes to the wrong location when clicking on links.  There's no
indication shown that the page has bad html, and no consistency in what we show
on that page.  We should at least do something repeatable.
cc-ing rickg since it might be a parser issue.
I'm not seeing the problem on WinNT. Waqar can you take a look on Linux.
Assignee: karnaze → waqar
As per Gecko meeting today, mass move to M15
Status: NEW → ASSIGNED
Target Milestone: M15
*** Bug 29722 has been marked as a duplicate of this bug. ***
Moving
Target Milestone: M15 → M17
Marking FUTURE. If you think this should be fixed for FCS, please provide 
evidence that this kind of bad HTML is widespread on the Web or present on Top 
100 sites. Workaround for content developers is "Fix your HTML!"
Keywords: compat
Target Milestone: M17 → Future
This bug has been marked "future" because the original netscape engineer working
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way
-- please attach your concern to the bug for reconsideration.
If bug 42286 is fixed, at least the user will have some indication that things
went wrong.
bulk reassigning Waqar's bugs to Don.
Assignee: waqar → dcone
Status: ASSIGNED → NEW

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