Closed
Bug 93316
Opened 24 years ago
Closed 24 years ago
image border doesn't go active on mouse down
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: olivier, Assigned: joki)
Details
Attachments
(2 files)
(nightly build 2001080206)
The border of an image anchor does not change color on mouse down.
The color remains the link color.
Make a link that uses an image instead of text. Click on it, holding
the mouse down for a bit to notice it.
The border around the image that is the anchor does not change color.
The border should change to the active color during the mouse down.
Example:
<html>
<head><title>Image Active Color Test</title></head>
<body>
The border around this <a href="./"><img src="img.gif"></a>
does not change to the active color when clicked.<br>
This normal <a href="./">link</a> does however.
</body>
</html>
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
The problem is that the "going red" happens due to the following code in
html.css:
*|*:-moz-any-link:active {
color: red;
}
In this case, it's the _img_ that's active, not the link. So that rule is not
matched.
This is a duplicate of bug 65917...
That said, if :subject were accepted as part of CSS3 we could do something like:
*|*:-moz-any-link:subject :active, |*:-moz-any-link:active {
color: red;
}
to get the right effect...
*** This bug has been marked as a duplicate of 65917 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•