Closed
Bug 356774
Opened 18 years ago
Closed 16 years ago
border-collapse: collapse:: border disappears for very thin borders
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: esorens, Unassigned)
Details
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 When the border-collapse:collapse is set for a table, tr, or td element and the border width is set to 0.1mm, the border completely disappears. Example: <table style="border:1mm solid black"> <tr> <td>Border: 1mm, not collapsed </td> </tr> </table> <br/> <table style="border:1mm solid black;border-collapse:collapse"> <tr> <td>Border: 1mm, collapsed </td> </tr> </table> <br/> <table style="border:0.1mm solid black"> <tr> <td>Border: 0.1mm, not collapsed </td> </tr> </table> <br/> <table style="border:0.1mm solid black;border-collapse:collapse"> <tr> <td>Border: 0.1mm, collapsed (and gone!)</td> </tr> </table> Reproducible: Always Steps to Reproduce: 1. The code above is always reproducible; a table with a mixture of collapsed borders of varying thicknesses isn't always reproducible. 2. 3. Actual Results: The fourth table (in the example code) has no border. Expected Results: The fourth table should have a border like the one above it.
Updated•18 years ago
|
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
No border in Firefox 2, but borders everywhere in Firefox 3 and higher.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
I had to add 1px margin to position them equally, but it should be fine otherwise.
Attachment #355150 -
Flags: superreview?(dbaron)
Attachment #355150 -
Flags: review?(dbaron)
Comment on attachment 355150 [details] [diff] [review] reftest r+sr=dbaron, although I'm not sure the margin thing is really something we want to depend on; I suppose we can fix the test if we change it, though.
Attachment #355150 -
Flags: superreview?(dbaron)
Attachment #355150 -
Flags: superreview+
Attachment #355150 -
Flags: review?(dbaron)
Attachment #355150 -
Flags: review+
(In reply to comment #4) > (From update of attachment 355150 [details] [diff] [review]) > r+sr=dbaron, although I'm not sure the margin thing is really something we want > to depend on; I suppose we can fix the test if we change it, though. Yeah, I guess I'll keep an eye on this test for a while.
Keywords: checkin-needed
Comment 6•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/af739efb3efa
Flags: in-testsuite? → in-testsuite+
Keywords: checkin-needed
Comment 7•15 years ago
|
||
This failed on OS X 10.5.2 mozilla-central unit test: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1234015866.1234021937.12312.gz
(In reply to comment #7) > This failed on OS X 10.5.2 mozilla-central unit test: That's too bad. Since I don't own a Mac I can only offer this updated reftest that expects the test to fail on Mac.
Attachment #355150 -
Attachment is obsolete: true
Comment on attachment 361058 [details] [diff] [review] reftest for Win and Linux David, do you think this is ok or should we approach this issue differently?
Attachment #361058 -
Flags: superreview?(dbaron)
Attachment #361058 -
Flags: review?(dbaron)
Here's the tinderbox log of the failure. I marked the test as failing on Mac for now: http://hg.mozilla.org/mozilla-central/rev/c15b6a0ccdd4
I think the failure is a known bug, bug 379317, that causes a few other border-related reftests to fail on Mac. I marked it as such in the manifest: http://hg.mozilla.org/mozilla-central/rev/969124be3084 so I think we're now ok here.
To be exact, the failure is that in the reference, the four corners are showing up as #010101 instead of #000000. (I'm not sure why reftest-analyzer doesn't show that, though.)
Attachment #361058 -
Attachment is obsolete: true
Attachment #361058 -
Flags: superreview?(dbaron)
Attachment #361058 -
Flags: review?(dbaron)
You need to log in
before you can comment on or make changes to this bug.
Description
•