Skip to content

Commit

Permalink
Added further clarification to placeholder styling issue in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
James Allardice committed Jul 26, 2012
1 parent da4a526 commit 0fa053c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The `init` method is all that you need to call to get the polyfill working. It a

- `hideOnFocus` - If `true`, this option will cause the placeholder to disappear when the element receives focus. If `false`, or not specified, the placeholder will disappear when some input is entered into the element.

Here's an example call to the `init` method:
Here's an example call to the `init` method:

Placeholders.init({
live: true, //Apply to future and modified elements too
Expand All @@ -56,7 +56,7 @@ The `refresh` method can be called at any time to update the placeholders define

- (When the `hideOnFocus` option is `false`) The cursor position can currently be changed after focus, so you can insert characters in the middle of the placeholder value (causing the placeholder not to hide).

- The placeholder text cannot be styled. The ability to do so is currently non-standard, but is present in WebKit (with the `::-webkit-input-placeholder` pseudoelement) and Firefox (with the `:-moz-placeholder` pseudoclass). This feature will not be added to the polyfill until some standard is defined.
- The placeholder text cannot be styled. The ability to do so is currently non-standard, but is present in WebKit (with the `::-webkit-input-placeholder` pseudoelement), Firefox 4+ (with the `:-moz-placeholder` pseudoclass) and Internet Explorer 10 (with the `:-ms-input-placeholder` pseudoclass). This feature will not be added to the polyfill until some standard is defined.

##Supported Browsers

Expand Down

0 comments on commit 0fa053c

Please sign in to comment.