Closed Bug 90211 Opened 23 years ago Closed 15 years ago

width of table columns (and total width) not consistent between rows.

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: bns_robson, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: [awd:tbl])

Attachments

(4 files)

I'm using Mozilla 4.9.2 under windows NT 4.0 SP6.

The table of Transmitter Details about halfway down the page
http://www.channel5.co.uk/channel5/technical.php is not laid out correctly. The
width of columns is different on different rows as is the total width of the rows.

The page is shown correctly by MSIE 5.01 SP2 and by Navigator 4.72

p.s. I couldn't view the source of the page using either Mozilla (Bug 90203) or
the online web sniffer (Bug 90199). I downloaded the page to file technical.html
 (using mozilla). This file is still has the table layout problem but its source
can be displayed using View Page Source.
hirata masakazu added a comment to bug 90203
"Interestingly, the table aligns if you open this URL from Composer/Editor."

I've tried opening the 07/13/01 03:02 testcase in Composer/Editor. This
is also displayed with the table aligned by Composer/Editor.
The eleventh line of the 07/13/01 04:10 test case is
   <div align="center"> <col width="75"> </div>
This line occurs between the <table> tag and the first <tr> tag.

If this line is changed to just
    <col width="75">
then the table is shown with all rows the same width.

With this change the W3C validator (http://validator.w3.org/file-upload.html)
reports the test case validates as HTML 4.01 Transitional. Without the change
the validator complains "element "DIV" not allowed here".

It appears that, unlike netscape 4.76 and MSIE 5.01 SP2, mozilla is not
ignoring the misplaced <div> tag.

The test case does not have a <!DOCTYPE> tag. I tried adding
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
to tell Mozilla the document type but this made no difference.

I have no idea which HTML editor was used to produce the page or how common
this type of invalid HTML is.
Summary: width of table columns (and total width) not consistent between rows. → width of table columns (and total width) not consistent between rows due to misplaced <div> tag
Added 4xp keyword. I also considered adding the donttest key word, however even
the 1767 byte testcase does not meet Mozilla's definition of a simplified testcase. 
Keywords: 4xp
Summary: width of table columns (and total width) not consistent between rows due to misplaced <div> tag → width of table columns (and total width) not consistent between rows.
just had a look at the test case:

If you remove the unnecessary DIV tags between the COL tags at the top of the
table definition then everything is fine. 

Looks like this is just a case mozilla trying to interprete colliding Attributes
of WRONG HTML code 

In my oppinion just **** HTML but no bug in mozilla
Whiteboard: [awd:tbl]
*** Bug 118532 has been marked as a duplicate of this bug. ***
Temporarily moving to future until a milestone can be assigned. 
Status: NEW → ASSIGNED
Target Milestone: --- → Future
I am experiencing a problem with the channel 5 website myself. I am using build
ID 2002011103 with the 2002 updated home version of Windows XP. Version 0.9.7+
the problem will be displayed in an attchment below.
Attached file testcase
two tables, both two columns = 75% and 25%. Width different. Mozilla 1.3b WinXP
home.
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
Component: Layout → Layout: Tables
QA Contact: petersen → madhur
Target Milestone: Future → ---
Priority: -- → P3
Target Milestone: --- → Future
Keywords: testcase
this is wfm since ages?
please reopen if you still see this
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: