Closed Bug 273084 Opened 20 years ago Closed 20 years ago

Background update applied incorrectly to anchor image

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 202942

People

(Reporter: kittya, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 StumbleUpon/1.999
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 StumbleUpon/1.999

If an anchor block contains an semi-transpearent image (instead of (or in
addition to?) text), and the background of the anchor block is changed by a
hover style, the region that is has its background changed is not the region of
the image, as it should be.

Reproducible: Always
Steps to Reproduce:
1. Create a web page with the following content

<style> a:hover { background: pink; } </style>
<a href="http://BreyFamily.net"><img
src="http://BreyFamily.net/images/HomeLink.gif"></a>

2. View the page with FireFox.
Actual Results:  
A pink rectangle about half the height of and a bit wider than the image appears.

Expected Results:  
The background of the image should become pink.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
Attached file testcase
Mozilla's behavior here is correct.  see bug 202942

*** This bug has been marked as a duplicate of 202942 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: