danbentley/placeholder — Issue #8: Safari Textarea Bug / Textarea Support?
Author: impressivewebs
Created: 2011-11-15 13:17:29+00:00
State: open

I'm not sure if you guys have support for this plugin for elements, but I'm wondering if you're aware of this bug that occurs on older versions of WebKit browsers:

http://stackoverflow.com/questions/4461414/html5-placeholder-attribute-chrome-doesnt-line-wrap-in-textareas

It's resolved in the latest stable Chrome release, but the latest Safari stable release still has the bug.

Here's a JSBin that you can view in Safari to test:

http://jsbin.com/igakaz/edit#html,live

You'll notice in Chrome and other browsers that support placeholder natively, the text wraps and is fully visible, but in Safari it doesn't wrap, so the text gets cut off at the edge of the textarea.