-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No modernnizr.textarea #76
Comments
Good point. Here's a link to the textarea element in the spec for reference: http://www.whatwg.org/specs/web-apps/current-work/#the-textarea-element |
A made a test page the other day that could be easily turned into Modernizr.textarea: http://miketaylr.com/code/html5-textarea-attribute-support.html |
mike, do you know if support for these attributes is inconsistent between input and textarea in any browsers? if support is identical, i'm not inclined to add this feature, but rather just document that fact. |
I've yet to see a browser have input.placeholder and not textarea.placeholder. +1 on documenting that. |
FWIW, I just got a bug report stating that Safari 4 supports After investigating this using Multi Safari, I can verify that Safari 4.05 doesn’t support Note that I did not only test by feature detection, I also tested an HTML document containing a text So yeah, Modernizr should probably add a separate test. |
Nice catch, Mathias. |
Boooo. :( |
the same inconsistency is present in opera 11 - Placeholder works on input but not on textareas Version 11.01 |
…feature test. fixes Modernizr#76.
I believe the textarea element in HTML5 supports placeholder, perhaps it supports some of the other input attributes too. Could you please add support for checking placeholder support on textareas?
The text was updated successfully, but these errors were encountered: