Closed
Bug 371248
Opened 17 years ago
Closed 16 years ago
wrong border color when border-collapse and bordercolor are set by javascript.
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 258377
People
(Reporter: toor, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9 By setting 'border-collpase: collapse;' in the style of a table, and change the border-color by javascript. It will render wrong border-colors for the cells under it. Its looks like its only when a onmouseclick event is on the cell. It occurs only on the right border of the cells. Reproducible: Always Steps to Reproduce: 1. Goto my demonstration url 2. Click on the cell: R1C1 (Row: 1 Col: 1), but dont move youre mouse. 3. Look at the underlaying cells (Row 2 till 13 Col: 1) 4. Now move your mouse to R2C3. The color is still corrupted. 5. Now move to R4C8. You will se that in R3C1 & R4C1 the colors are right, but R5C1 till R13C1 is still corrupted. Actual Results: See the pic: http://img507.imageshack.us/img507/9691/scrrenyoo9.jpg Expected Results: Only the border-color of R1C1 may change.
Updated•17 years ago
|
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: 1.5.0.x Branch → 1.8 Branch
Comment 2•17 years ago
|
||
I have found (probably) the same or a related problem with 2.0.0.6 I have created a simple test case to show the problem at http://www.mindat.org/mozbug.html I've also found similar problems in Opera and Safari, however IE does render the page "correctly". The problem seems to be related to changing a style for a TD via the DOM while the table has border-collapse set.
This one is a dupe. This seems to be a real mess in Gecko. Hope it'll improve someday.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•