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)

x86
All
defect

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
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → Future
I reckon we'll get das Blinkenlights on the Mac too, eh?
Attached file 2nd testcase
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.
Some more input. If one uses two text-decoration styles like below, the second style will still work. a:hover { text-decoration:blink overline; }
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.
Attached file Testcase that works.
The blinking works correctly if there is any border-width: specification.
Attached file javascript testcase
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.
Summary: text-decoration: blink doesn't work on A:hover → text-decoration: blink doesn't work on element:hover
Keywords: css2css1
Depends on: 236897
Fixed by checkin for bug 236897
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verified with Firefox 1.5 final.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: