Closed
Bug 179079
Opened 23 years ago
Closed 21 years ago
text-decoration: blink doesn't work on element:hover
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Tracking
()
VERIFIED
FIXED
Future
People
(Reporter: luke, Assigned: dbaron)
References
Details
(Keywords: css1, testcase)
Attachments
(4 files)
[I'm aware that the concept of blinking links isn't very nice, but blink is part
of CSS1, and it does have occasional uses]
Given the following page:
<html><head><title>Test</title>
<style type="text/css">
A { text-decoration: none }
A:hover { text-decoration: blink }
</style>
</head><body>
<a href="my.php">I am a link</a>
</body></html>
The link should (I believe) blink when you move the mouse over it. This doesn't
happen under 1.2b
| Assignee | ||
Comment 1•23 years ago
|
||
Updated•23 years ago
|
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
| Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → Future
Comment 2•23 years ago
|
||
I reckon we'll get das Blinkenlights on the Mac too, eh?
Comment 3•23 years ago
|
||
Someone noted on the Webdesign-L list today that the reverse condition is also
broken. If :link is set to text-decoration:blink and :hover to some other
text-decoration, the blink does not go away when you hover. See 2nd testcase.
Comment 4•22 years ago
|
||
Some more input.
If one uses two text-decoration styles like below, the second
style will still work.
a:hover
{
text-decoration:blink overline;
}
Comment 5•22 years ago
|
||
I have an example using Mozilla 1.4 (final) where this does not involve hover.
I have a style
font.blink { text-decoration: blink }
I then have a markup
<font class=blink color=#ff0000 size="+1"><b>Notice</b></font>
The color, size, and emphasis are as expected, but the word does not blink. It
does blink for Netscape 4.79, one of the rare cases when that earlier browser
version handles a style sheet correctly that is not handled correctly by Mozilla
1.4.
My example is found near the beginning of
<http://www.rossde.com/mail_to_me.html>. The style sheet is at
<http://www.rossde.com/genl_style.css>.
The bug in comment 5 is a bit different. The presence of the "color" attribute
seems to override the blinking - if you remove the colour attribute then the
blinking starts again. What's more, you can use the style to specify color: red
and then it is red and blinking.
I believe comment 5 is a different bug, but probably worth opening a new bug for
as it's a 4xp bug.
The blinking works correctly if there is any border-width: specification.
Comment 8•22 years ago
|
||
Testcase which dynamically adds text-decoration:blink to a paragraph. Nothing
happens.
But after adding a style border:0px solid black, the paragraph starts to
blink.
Updated•22 years ago
|
Summary: text-decoration: blink doesn't work on A:hover → text-decoration: blink doesn't work on element:hover
Updated•22 years ago
|
Comment 9•21 years ago
|
||
Fixed by checkin for bug 236897
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•