Closed Bug 277251 Opened 20 years ago Closed 17 years ago

1-pixel gap at bottom of table cell

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ipriha, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

When rendering a HTML page with a nested table structure to support columns with
diffent background colors, the background of the lowest pixels in the table cell
is not painted if:

1) The cell contains a list (HTML <UL> or <OL>) AND
2) The font size is smaller than 100 %

The same problem is in Mozilla browser.

See the attachment for details.
Attached file A test case
Keywords: testcase
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: firefox.general → core.layout
Version: 1.0 Branch → Trunk
Can't see the problem.
You have "background: #FFFFFF". Of course that cell will be white in background
color.
It's a bit more complicated. Originally, the left column is gray and the right
column is white. At the bottom of the right column, I want a block to share the
background of the left column. However, the very last line of pixels of this
gray block in the right column is left to original white, but only when there is
<ul> or <ol> somewhere in the upper (white) part of the left column and the font
size is set to smaller than 100%.

I noticed that this can almost be avoided by using some other font unit than %,
but then it reappears in some cases when the user applies text zoom. It renders
correctly in IE.
I can see it if I text-zoom to a rather large font (2005-01-02-06 Linux).
Looks like a rounding error...
Severity: normal → minor
Component: Layout → Layout: Tables
OS: Windows XP → All
QA Contact: core.layout → core.layout.tables
Summary: Incorrect HTML rendering → 1-pixel gap at bottom of table cell
Attached file Testcase #2
Whiteboard: DUPEME
WFM at all zoom sizes on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2) Gecko/2007121016 Firefox/3.0b2
WFM too: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b3pre) Gecko/2007121905 Minefield/3.0b3pre
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: