Closed Bug 5407 Opened 25 years ago Closed 25 years ago

{css2} hover borders on inline images only being painted within height of text

Categories

(Core :: CSS Parsing and Computation, defect, P3)

Other
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: pierre)

References

()

Details

(Keywords: css2)

The aqua border that should be drawn around the whole image in the above URL is only being drawn around the part of the image where the text in the line would go. However, If I alt+tab into the window while the mouse is in a position that is over the image, the whole border gets painted aqua, and the hover color never goes away from the part that normally never gets it. Bug 5387 is related, on the same page.
Assignee: troy → joki
Assignee: joki → peterl
Component: Layout → Style System
This is a style repaint issue
*** Bug 3240 has been marked as a duplicate of this bug. ***
In the June 30th Build, I can't get the border to change color when the image is clicked.
It shouldn't change when the image is clicked... and there was a problem in the test page which I just fixed, so it should change on :hover.
Target Milestone: M8 → M9
Deferring to M10
*** Bug 12735 has been marked as a duplicate of this bug. ***
Summary: hover borders on inline images only being painted within height of text → {css2} {inc} hover borders on inline images only being painted within height of text
Ian - why "{inc}" ?????
Depends on: 5693
Summary: {css2} {inc} hover borders on inline images only being painted within height of text → {css2} hover borders on inline images only being painted within height of text
Why "{inc}" indeed. Sorry about that. BTW, the reason that the color doesn't change on :hover is that the 'a' element is not ever getting hovered, due to bug 5693. Marking dependency. The subject of this bug is still visible when the 'a' element is focused, however: STEPS TO REPRODUCE Load up the page in question. Click on the page content. Press TAB. This should focus the link. you can see that this has happened because there will be a little dotted line along the bottom of the image. WHAT IS SEEN The bottom of the border goes maroon. WHAT IS EXPECTED The whole image's border should go maroon the moment the link is focused. TESTED ON Win98, 1999-09-17 build. David: Could you add the following rule to the stylesheet?: img { border: thick solid; } This should make the color change more obvious.
QA Contact: petersen → chrisd
Reassigning peterl's bugs to myself.
Accepting peterl's bugs that have a Target Milestone
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I checked on Mac and Windows and it looks like it's fixed. Marking as such. You may notice that after the image gets the focus, the dashed outline doesn't go away unless you refresh the window. This bug is already being taken care of (#16301: Link-select dashed outline does not clear).
Status: RESOLVED → VERIFIED
Using 11/9 Apprunner on Win, Mac and Linux, hover problem fixed. Aqua border is fully painted around image on hover.
Keywords: css2
Migrating from {css2} to css2 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
You need to log in before you can comment on or make changes to this bug.