I am trying to use a pair of these newfangled HTML5 form attributes, and the placeholder
attribute seems to be suitable for get the magic.
This works very well, but Chrome insists on presenting all the placeholder text on one line if the text area is small. Other browsers, such as Firefox or rekonq (the only other WebKit browser I have at my disposal), encircle text.
While the spec says that line restrictions are not allowed in the placeholder attribute, it says nothing about line wrapping. Is this something that a developer can decide is a Chrome bug, or are other browsers wrong?
And, most importantly, of course, is there a workaround?
source share