Skip to content
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

Custom fonts problem in IE8 #43

Open
entozoon opened this issue Feb 23, 2015 · 0 comments
Open

Custom fonts problem in IE8 #43

entozoon opened this issue Feb 23, 2015 · 0 comments

Comments

@entozoon
Copy link

Using proper IE8 on Windows XP, I've found an.. interesting.. issue.
For password inputs, when the user starts typing and text is replaced by asterisks, they appear invisible if using the google font 'Raleway', and likely other custom fonts.

The font does indeed have the asterisk character so I've no idea what's causing it, and after a good few hours I came up with this very simple proposed solution:
jquery.placeholder-enhanced.js - after line 297, I added:

$el.addClass('forceStandardFont');

Then the corresponding CSS:

.forceStandardFont { font-family: sans-serif; }

(Class won't need to be removed as it's only on the temporary input element).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant