Closed
Bug 167787
Opened 23 years ago
Closed 22 years ago
Erroneous image-clipping on mouseovers.
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
People
(Reporter: adam, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
215 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•23 years ago
|
||
CC:ing dbaron based on a vague and unreliable recollection that
he's a guru of styling and tables.
Reporter | ||
Comment 2•23 years ago
|
||
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.
Reporter | ||
Comment 3•23 years ago
|
||
This is the (very) minimal test-case. It doesn't matter that
the image doesn't exist, the problem is still demonstrated.
Reporter | ||
Comment 4•23 years ago
|
||
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.)
Reporter | ||
Comment 6•23 years ago
|
||
That does look quite likely! I'm not confident that I'm qualified to judge, though.
Updated•23 years ago
|
Priority: -- → P2
Target Milestone: --- → Future
![]() |
||
Comment 8•22 years ago
|
||
.
Assignee: attinasi → other
Depends on: 79315
Priority: P2 → --
QA Contact: cpetersen0953 → ian
Target Milestone: Future → ---
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: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•