Closed
Bug 771062
Opened 12 years ago
Closed 4 years ago
TD borders are incorrectly redrawn after modification with js
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: wkolo, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase, Whiteboard: likely a duplicate of bug 714781)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0
Build ID: 20120628060610
Steps to reproduce:
I have modified TD border using js.
Then TD cell borders are incorrectly redrawn.
It occurs when TD style overflow is set to hidden
http://jsfiddle.net/8KLQk/
Actual results:
cell borders incorrectly redrawn after modification
Expected results:
before firefox 11 effect does not occurs
Attachment #639249 -
Attachment mime type: text/plain → text/html
Does it work OK if you don't use 'border-collapse:collapse' on the table?
Sounds a bit like bug 714781 or an other known bug. Have a look here:
https://bugzilla.mozilla.org/buglist.cgi?list_id=3625313;classification=Components;chfieldto=Now;query_format=advanced;chfield=%5BBug%20creation%5D;chfieldfrom=2008;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;component=Layout%3A%20Tables;product=Core
Whiteboard: [DUPME]
(In reply to mjh563 from comment #1)
> Does it work OK if you don't use 'border-collapse:collapse' on the table?
Yes, it works without 'border-collapse:collapse' but it isn't what I'm expecting
Caused by:
changeset: 84807:8651133cd196
user: Benjamin Stover <bstover@mozilla.com>
date: Wed Jun 15 14:03:49 2011 -0700
summary: Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Doesn't look like there's any referenced bugs for it that dups that exact revision (there's one for part=5/6)
Blocks: 524925
Comment 5•10 years ago
|
||
I don't see anything wrong with the testcase on current nightly on OS X, is this still a problem? What specifically is wrong?
Flags: needinfo?(wkolo)
(In reply to Nickolay_Ponomarev from comment #5)
> I don't see anything wrong with the testcase on current nightly on OS X, is
> this still a problem? What specifically is wrong?
Mozilla/5.0 (Windows NT 5.1; rv:36.0) Gecko/20100101 Firefox/36.0
I see the bug on XP
Click "overflow visible" and "mark area 1" and "mark area 2".
You see three cells with red border.
Click "overflow hidden" and "mark area 1" and "mark area 2".
Red Borders are incomplete or not redrawn correctly.
I still think it's a dup of bug 714781, setting dependecy
Depends on: 714781
Version: 11 Branch → Trunk
Comment 7•10 years ago
|
||
Thanks, now I can reproduce this. You're probably right about this being duplicate, but it's hard to say until the other bug is fixed, so I'll just move this from Untriaged for now.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Tables
Ever confirmed: true
Flags: needinfo?(wkolo)
OS: Windows 7 → All
Product: Firefox → Core
Whiteboard: [DUPME] → likely a duplicate of bug 714781
Comment 8•10 years ago
|
||
I'm not sure if that's really the same bug, though I created another, simplier test case for incorrectly displayed borders.
Click the first cell twice and you'll see that the right outer border of the table will not be drawn anymore.
Sebastian
Comment 9•4 years ago
|
||
I just tested this in Firefox 86.0.1 and neither the original test case nor my one showed any issues anymore. Therefore I close this issue now.
If anyone can still reproduce it, feel free to reopen this bug.
Sebastian
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•