Closed Bug 335030 Opened 18 years ago Closed 18 years ago

CSS :hover property not obeyed by background images

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: david.vanscott, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20060421 Camino/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20060421 Camino/1.0+

A link that utilizes an image and text (the image being a background image done through CSS) will only trigger the :hover behavior when mousing over the text and not over the image.  This behavior only started after the 4/18 trunk builds in both Firefox and Camino.

Reproducible: Always

Steps to Reproduce:
1. Make sure you have a trunk build from 4/18/06 and on
2. Go to the test page
3. Mouse over the text and see the correct behavior, then mouse over the image and see that there is no :hover behavior

Actual Results:  
Nothing

Expected Results:  
Hovering over the image should activate the :hover behavior: changing the color of the text and moving the image to another position.
regression range:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060416 Firefox/3.0a1 ID:2006041605
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060417 Firefox/3.0a1 ID:2006041716

This only affects links in a table-cell.
There is another bug about this: bug 334690 with the same regression range.

Possibly from  bug 333481?
Keywords: regression
Blocks: 333481
Could someone attach the testcase to this bug, please?  Either use one of the bugzilla images, or attach the image, then the HTML?
Attached file Testcase
This bug only occurs when link is inside table cell. Remove display:table-cell from body and it will work as expected.
I am on Windows XP. Hardware/os --> All
Keywords: testcase
OS: MacOS X → All
Hardware: Macintosh → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.9a1?
The patch for bug 334690 appears to fix this bug as well.

Tested with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060501 Minefield/3.0a1 ID:2006050105
fixed by 334690
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: 334690
Resolution: --- → FIXED
Any idea when this patch will land on the trunk or has it landed already?
Flags: blocking1.9a1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: