Closed Bug 167787 Opened 22 years ago Closed 21 years ago

Erroneous image-clipping on mouseovers.

Categories

(Core :: Layout: Positioned, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 79315

People

(Reporter: adam, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

This page includes the following style rule:

a:hover {color:#990000; position:relative; top:1; left:1; text-decoration:none; }

I'm guessing that the author intends this to move image-links
down and right by one pixel when they're mouseovered.

On mouseovering the thumbnail images his does indeed seem to be happening
(unfortunately the table row has to expand to accommodate the new position of the
images which causes unpleasant table-wibbling but I think that's just poorly-
conceived style rules).

However, one undesirable effect which I believe to be a mozilla layout
bug is that on being mouseovered the thumbnail images also get their
top ~5 pixels cropped out to the background colour.  I don't believe
that this should be happening.

This is with mozilla-trunk at time of writing, Linux/gtkfe, x86.
CC:ing dbaron based on a vague and unreliable recollection that
he's a guru of styling and tables.
That's interesting, the 'back' icon also has the mis-clipping
problem and it's not in a table, so the table thing is likely a
red herring (removing from summary).
Summary: Table-wibbling and image-clipping on mouseovers. → Erroneous image-clipping on mouseovers.
Attached file Minimal test-case.
This is the (very) minimal test-case.  It doesn't matter that
the image doesn't exist, the problem is still demonstrated.
Keywords: testcase
CC:ing pavlov, since the bad clipping only seems
to apply to image elements.
Perhaps a duplicate of bug 79315?  (I'm not sure.  I didn't look very closely.)
That does look quite likely!  I'm not confident that I'm qualified to judge, though.
Priority: -- → P2
Target Milestone: --- → Future
this is a dup of bug 79315.
.
Assignee: attinasi → other
Depends on: 79315
Priority: P2 → --
QA Contact: cpetersen0953 → ian
Target Milestone: Future → ---
->R&A Pos
Assignee: other → position
Component: Layout → Layout: R & A Pos
The URL is now 404, but the testcase looks exactly like one of the ones on bug
79315 that was fixed by the patch I just checked in.

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

Attachment

General

Creator:
Created:
Updated:
Size: