marcwieland95 / hypher-for-jQuery

A small and fast JavaScript hyphenation engine for jQuery.
4 stars 5 forks source link

New Safari Browser and Google Webfonts #8

Open marcwieland95 opened 8 years ago

marcwieland95 commented 8 years ago

See https://github.com/mnater/Hyphenator/issues/239 Not just in Hyphenator, also in Hypher this bug occurs.

This is a bug in Safari and will be fixed in a newer version: (https://bugs.webkit.org/show_bug.cgi?id=150329)

marcwieland95 commented 8 years ago

The vendor-prefix in -webkit-font-variant-ligatures: no-common-ligatures;is no longer supported in Safari 9.1. And, sadly, the bug is still there. Use both, the prefixed (for Safari < 9.1) and the unprefixed (for Safari >= 9.1) property:

-webkit-font-variant-ligatures: no-common-ligatures;
font-variant-ligatures: no-common-ligatures;