Closed Bug 107454 Opened 23 years ago Closed 22 years ago

ibm.com - Voice Systems - Incorrect layout due to bad comment structure

Categories

(Tech Evangelism Graveyard :: English US, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: phil_mozilla, Assigned: bc)

References

()

Details

(Whiteboard: [DOCTYPE])

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5) Gecko/20011011 BuildID: 2001101117 0.9.5 displays: http://www-4.ibm.com/software/speech/java incorrectly compared to 4.77. Reproducible: Always Steps to Reproduce: 1. Display the page 2. 3. Actual Results: Actual Results: Page displayed incorrectly. The entire middle area of the page, which is labeled "page content" in the source, is not displayed by Moz 0.9.5. Expected Results: Expected Results: It should have displayed as it appears with Netscape 4.77, and IE 5.00. Additional Information: page uses the following DOCTYPE declaration. <!DOCTYPE html SYSTEM "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"> I saved a local copy of the file, deleted the DOCTYPE declaration, and viewed it in Moz 0.9.5. Under these circumstances, the area which is left undisplayed when viewing the actual web site, is displayed.
Page uses a strict doctype and broken comments with the wrong number of -- in them. Over to evangelism. (Note that they used to have this problem before, then fixed it and now it has reappeared).
Assignee: attinasi → bclary
Status: UNCONFIRMED → NEW
Component: Layout → English: US
Ever confirmed: true
OS: Windows NT → All
Product: Browser → Tech Evangelism
QA Contact: petersen → zach
Hardware: PC → All
Whiteboard: [DOCTYPE]
Version: other → unspecified
Summary: Page does not load correctly → ibm.com - Page does not load correctly
Priority: -- → P1
Depends on: 114157
No longer depends on: 114157
Blocks: 114157
contacted 12/8
Status: NEW → ASSIGNED
Target Milestone: --- → Jan
Whiteboard: [DOCTYPE] → [DOCTYPE][aok]
I'm trying to understand the exact problem here. Is it that Mozilla treats IBM's transitional doctype as strict? And that causes a problem with HTML comments? (What problem, please?)
> Is it that Mozilla treats IBM's transitional doctype as strict? No, that's correct. 4.01 transitional with URI should trigger quirks mode. > And that causes a problem with HTML comments? Yes. The problem is that comments are started by -- and ended by --. Hence: <!-- comment -- not commment, but sgml markup, so not shown --> still comment, since the ">" was commented out and now all the rest of the page is commented out till we hit a "--" and whoops this is now no longer comment> and this text is actually shown The page has most of the content commented out, if comments are parsed per the correct comment-parsing rules.
>> Is it that Mozilla treats IBM's transitional doctype as strict? > No, that's correct. 4.01 transitional with URI should trigger quirks mode. Forgive my newness to all this quirks/standard detection, but it appears that the page's doctype of <!DOCTYPE html SYSTEM "http://www.ibm.com/data/dtd/v11/ibmxhtml1- transitional.dtd"> is forcing strict mode and that's causing problems. Is the behavior of Mozilla using strict mode for this page what you're saying is correct? And are you then just giving additional (and unrelated) information about the 4.01 doctype? Or are you saying that the IBM doctype should be treated as quirks and as 4.01? I'm confused. The comment problem ONLY applies to strict mode, right?
Please don't confuse strict DTD mode and strict layout/parsing mode ("standards" mode). http://www.mozilla.org/docs/web-developer/quirks/doctypes.html explains how the layout mode depends on the doctype. In particular, all XHTML doctypes are in "strict" mode, the assumption being that XHTML pages are actually standards-compliant.
Keywords: evang500
Whiteboard: [DOCTYPE][aok] → [DOCTYPE]
It looks like this is fixed.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
most comments fixed but still has <!-- ----------------WebSphere Translation Server------------- --> Plus does not handle the image table in standards mode yet. -> reopen
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
changed summary to: Incorrect layout due to bad comment structure from: Page does not load correctly [that problem is fixed]
Severity: normal → minor
Summary: ibm.com - Page does not load correctly → ibm.com - Voice Systems - Incorrect layout due to bad comment structure
comments fixed and doctype issue resolved on our side in bug 153032
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.