Closed Bug 283441 Opened 20 years ago Closed 15 years ago

html table with css border style have 1pixel hole

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: marco.manngatter, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

in the page http://www.sv-bwb.de/firefox.html there is a table with a css border
after the second column it is a 1px hole in the border.
(http://www.sv-bwb.de/border_style_bug.gif)

Reproducible: Always
Attached image table border style
Assignee: firefox → nobody
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Component: Layout → Layout: Tables
QA Contact: layout → layout.tables
Works For Me using Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.7.5)
Gecko/20041118 Firefox/1.0
There's no 1px missing for me, but the first vertical line on the left side of
the table is not being drawn... (just like in your .gif). Isn't it a related bug?
Same thing happens using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2)
Gecko/20050224 Firefox/1.0+
No pixel missing.
Table doesnt have left vertical line drawn.
I played around with the HTML and noticed some strange things.
First, using Firefox on Windows 2000 and Mozilla and Firefox on Windows XP I
didn't notice any gap.  I did notice that the border line to the left of PLZ was
narrower than the lines below.

I added
        background-color:#ffffff;
to the definition of .td_data and now all three lines were narrow.

Next I narrowed the window (on all three browsers).  When the window got small
enough that the table needed to be compressed the line to the left of PLZ
widened to match the rest of the lines, but the line to the right of PLZ got
narrower. When I narrowed the window by a few more pixels that line got wider. 
This temporary effect applied to all rows in the table, whether or not I made 
the change above for .td_data.
seeing also Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050223

imho this is a rounding error, when I zoom (Ctrl++), the gap sometimes vanishes,
lines get thicker and small again.
That you don´t see a first vertical line is by css, that line is a left border:
border-left-width:0pt; 

Seeing or not seeing the gap may depend on screen resolution, I´m on 800x600,
and see the gap at 100%, 120%, 150% but not at 200%.

this is wfm, please reopen with a screenshot if the bug is still there.
Status: UNCONFIRMED → 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

Created:
Updated:
Size: