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)
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)
![]() |
||
Comment 1•21 years ago
|
||
> (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
Comment 2•21 years ago
|
||
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
Reporter | ||
Comment 3•21 years ago
|
||
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.
Comment 4•21 years ago
|
||
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>
![]() |
||
Comment 5•21 years ago
|
||
steve, could you please attach a screenshot of what IE shows like I asked you to?
Comment 6•21 years ago
|
||
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.
Comment 7•21 years ago
|
||
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.
Comment 8•21 years ago
|
||
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.
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•21 years ago
|
Assignee: other → table
Reporter | ||
Comment 10•21 years ago
|
||
Here's the correct display for IE.
Comment 11•21 years ago
|
||
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.
Comment 12•21 years ago
|
||
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
Comment 13•21 years ago
|
||
display is broken in IE6 as well -> invalid
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•