Open Bug 686678 Opened 13 years ago Updated 2 years ago

CSS Transitions artifact with the collapsing borders model

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: bobe+bugzilla, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0 Build ID: 20110909093034 Steps to reproduce: I add a transition effect on a cell and I modify the opacity of the cell using javascript. By clicking the first time, the opacity is reduced to 0.3. Clicking a second time, the opacity is reset to 1. Actual results: After the second click, the background returns to its original color. However, just before the end of the transition, the padding of the cell appears temporarily in white color (background color of the parent node of the cell), while the box content of the cell has the red color background. Expected results: The padding should not appear in a different background color.
The bug also appears with: Mozilla/5.0 (X11; Linux x86_64; rv: 9.0a1) Gecko/20110914 Firefox/9.0a1 I noticed that : * The bug doesn't appear with the separated borders model * The bug doesn't appear if the padding of cell is 0 * The bug doesn't appear with other block elements (such a paragraph)
Component: Layout → Layout: Tables
QA Contact: layout → layout.tables
Attachment #560168 - Attachment mime type: text/plain → text/html
I note that the bug also occurs with a css hover style instead of a click event (used in the testcase)
Component: Layout: Tables → Style System (CSS)
I can confirm this issue using the test case provided. Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110919 Firefox/9.0a1 Mozilla/5.0 (X11; Linux x86_64; rv:9.0a1) Gecko/20110918 Firefox/9.0a1 Mozilla/5.0 (Windows NT 6.1; rv:9.0a1) Gecko/20110919 Firefox/9.0a1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0a1) Gecko/20110915 Firefox/9.0a1
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: