PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

Preload the font used by `.keyboard-focus` #26

Closed blasten closed 8 years ago

blasten commented 9 years ago

If a button receives focus from the keyboard, the font-face might not be ready (downloaded & decoded). This creates an undesirable visual effect; however, if the font-face is requested ahead in time, we can avoid that effect.

This seems to be the issue in https://github.com/PolymerElements/paper-button/issues/24 \cc @frankiefu

cdata commented 9 years ago

Does this actually work?

Also, maybe you should run the tests again?

Also also, sorry for responding to this so late.

Finally :+1:

cdata commented 8 years ago

@blasten Can you rebase this branch, and then reopen the PR? Thanks.