mrdoob / blinkftw

Keeping <blink> alive
http://mrdoob.github.io/blinkftw/
43 stars 10 forks source link

<blink> should only affect text nodes #3

Open mathiasbynens opened 11 years ago

mathiasbynens commented 11 years ago

Gecko and Presto only support text blink because it’s really a text-decoration feature. Inputs and other elements shouldn’t blink — only text nodes should.

E.g. <blink>foo<input></blink>

mrdoob commented 11 years ago

Oh... That'd be a bit harder now that it's css only.

mathiasbynens commented 11 years ago

It’d be impossible using only CSS, as there’s no way to select text nodes without referring to a wrapper element.

korywka commented 11 years ago

can try color: transparent; but IE6 support =(

mathiasbynens commented 11 years ago

@bravedick Wouldn’t that also apply to text in <input>s?

sylvainpolletvillard commented 11 years ago

I guess blink lovers would love blinking blocks. Also, pink bold comic sans.

korywka commented 11 years ago

input {color: #000 !important} =)

korywka commented 11 years ago

@mathiasbynens http://codepen.io/anon/pen/ibKrg

mrdoob commented 11 years ago

@bravedick haha!

mathiasbynens commented 11 years ago

@bravedick Blinks in Firefox.

yyolk commented 11 years ago

@bravedick :+1:

emackey commented 11 years ago

Can't you just blink input { animation: none; } or something?