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)

x86_64
All
defect
Not set
normal

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)

Attached file bug.html (deleted) —
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?
(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
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
Keywords: testcase
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
Attached file borderDisplay.html (deleted) —
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

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.

Attachment

General

Creator:
Created:
Updated:
Size: