Skip to content

Custom fonts problem in IE8 #43

@entozoon

Description

@entozoon

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions