Closed Bug 226156 Opened 21 years ago Closed 21 years ago

Table data displayed incorrectly (in comparison to IE)

Categories

(Tech Evangelism Graveyard :: English Other, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sherfh, Unassigned)

References

()

Details

(Keywords: qawanted, testcase)

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7 Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7 In comparison to Internet Explorer 5.5, some of the table widths and height aren't displayed in the correct dimensions. Reproducible: Always Steps to Reproduce: 1.load URL (listed above) 2. 3. Actual Results: Table displayed with incorrect dimensions Expected Results: Loaded the table with the correct dimensions (use IE as a reference)
> (use IE as a reference) That's quite impossible, since I have no access to a computer that runs IE... Could you please clearly describe the problem or post a screenshot of the IE rendering? In any case, this is very unlikely to be parser and very likely to be related to the fact that this "html" is produced by MS Word....
Assignee: parser → other
Component: HTML: Parser → Layout
QA Contact: ian
IE displays incorrectly in comparison to Opera and Mozilla, and I just guess, all other browsers. Workaround: Zoom with CTRL++, or use View->Textzoom->Larger
I'm pretty sure that this table is dynamically generated each time. Each column should be of a uniform width as that shown in the first and last column.
It is a MS Word document, have a look at the source code View->PageSource Font size is specified as 6 point, that is what you see. Workaround: specify a minimum font size, maybe 12, in your preferences, Edit->Preferences->Appearance->Fonts Minimum font size: 12 cut from the source: <td width=196 valign=top style='width:146.8pt;border:none;border-right:solid windowtext 1.0pt; mso-border-right-alt:solid windowtext .75pt;padding:0cm 5.4pt 0cm 5.4pt'> <p class=MsoNormal style='line-height:8.0pt;mso-line-height-rule:exactly'><b style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:6.0pt; font-family:Arial;mso-bidi-font-family:"Times New Roman"'>80G 7200rpm / SATA Seagate “Hot”<o:p></o:p></span></b></p> </td>
steve, could you please attach a screenshot of what IE shows like I asked you to?
The reason that some of the table cells expand in Mozilla is because of two cells with contents with style='margin-left:252.0pt; text-indent:-252.0pt;'. In IE, these style rules do not cause the cells to expand - in Mozilla they do.
Attached file Minimal testcase
Here's a minimal testcase. In IE, this displays as a shrink-wrapped cell, just wide enough for the contents. In Mozilla, the cell is significantly expanded.
So it looks like the width of the cell is being calculated as min(margin-left + text-indent + <text-width>, margin-left). This may very well be correct.
s/min/max in my last comment, of course.
Component: Layout → Layout: Tables
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: other → table
Here's the correct display for IE.
That's certainly the /intended/ display, for sure. Whether it's the /correct/ display will depend on what the correct rendering of attachment 136408 [details] is.
Keywords: qawanted
Keywords: testcase
According to bz and dbaron, we're doing the right thing. The content box width can't be less than zero, so it has to be zero. The width of the table cell is equal to the margin width plus the content box width (zero), so our rendering is correct. -> evang
Component: Layout: Tables → English Other
Product: Browser → Tech Evangelism
Version: Trunk → unspecified
display is broken in IE6 as well -> invalid
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: