On Thursday 27 September 2012 21:54:56 Philip Taffner wrote:
> You should use code, which aborts if the browser has native support for
> the placeholder attribute.
> 
> Example: https://github.com/mathiasbynens/jquery-placeholder
> 
> More polyfills are listed here (scroll down to "Web Forms: input
> placeholder"):
> 
> https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills
> 
> Am 27.09.2012 18:32, schrieb Jörn Friedrich Dreyer:
> > Shouldn't we use an HTML5 placeholder attribute? and maybe
> > http://www.hagenburger.net/BLOG/HTML5-Input-Placeholder-Fix-With-jQuery.ht
> > ml
> > 
> > I'm asking because chrome prefills the dialog with my credentials which
> > causes the label to overlay the prefilled text, which looks ugly...
> > 
> > so long
> > 
> > Jörn
iirc, a custom placeholder was used instead of using the html5 placeholder 
attribute because the native placeholder dissapears as soon as the input gets 
focus. With the username field being auto focused it won't have a visible 
placeholder untill it loses focus.

 - Robin Appelman
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to