Closed Bug 295828 Opened 20 years ago Closed 14 years ago

e-pariuri.ro - Incorrect comments and no doctype. (Romanian)

Categories

(Tech Evangelism Graveyard :: Other, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: balaci_catalin, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

the main body of the page is not shown! Just try this link:
http://www.e-pariuri.ro/?mijloc=PREDICTII&tipsuser=31&top_luna=200505 in Firefox
and then try it in IE

Reproducible: Always

Steps to Reproduce:
1. open link
http://www.e-pariuri.ro/?mijloc=PREDICTII&tipsuser=31&top_luna=200505 in firefox


Actual Results:  
A black page is displayed on main body

Expected Results:  
display the normal page! Try opening the link in IE to see the normal page!
(In reply to comment #1)
> the page has 900+ errors
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.e-pariuri.ro%2F%3Fmijloc%
3DPREDICTII%26tipsuser%3D31%26top_luna%3D200505&charset=iso-8859-1+%
28Western+Europe%29
> a mess..

I agree, but Internet Explorer shows it corectly!
Summary: page shown incorectly → page shown incorrectly
Many of the validation errors are about wrong comment delimiters. So it may be
the correct thing to _not_ display the main content if it is in comments, and IE
may get it wrong.

Catalin, could you reduce the page to a minimized testcase so that it is easier
to see which (if possible, valid) code causes the problem?

Generally, for HTML it is not defined how borwsers should display broken code -
so it is perfectly valid if different browsers display broken code differently.
I don't think there is a bug in Gecko here, but I can say for a fact that
reading that markup made me want to vomit.  Tech evang?
<- Tech Evangelism, and confirming.  This page makes Gecko cry.
Status: UNCONFIRMED → NEW
Component: General → Other
Ever confirmed: true
Product: Firefox → Tech Evangelism
Summary: page shown incorrectly → e-pariuri.ro - Incorrect comments and no doctype.
<-All/All, Default QA/Owner
Assignee: nobody → other
OS: Windows XP → All
QA Contact: general → other
Hardware: PC → All
Summary: e-pariuri.ro - Incorrect comments and no doctype. → e-pariuri.ro - Incorrect comments and no doctype. (Romanian)
Comments begin with <!-- and end with --> it is correct for a comment to be
continued until the parser finds -->, in the page, the comment-end tag is
incorrectly using ---> so gecko skips over it, and assumes everything between
the comment start tag, and the missing --> (which means, until the end of the
document, if there's not a comment-end tag that's correct before that.) is
commented out.

This is not a bug with Mozilla. The fact that IE chooses to ignore invalid
markup and try to handle it, (probably by assuming the first - is part of the
comment and finding -->, which i'm not sure is actually bad or not, just that it
makes it easy, as you see, to write a page that is actually /wrong/ and have it
display without the error.) is a variation between UAs.

The solution is simply to fix the markup, at least the comment tags, and doctype.
<- P2
Priority: -- → P2
INCOMPLETE due to lack of activity since the end of 2009.

If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself.

Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.