Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 889 Bytes

File metadata and controls

30 lines (20 loc) · 889 Bytes

Lack of @font-face Support Detection

You can use this filter to selectively serve something else to browsers which don't support TTF/OTF/WOFF embedding through @font-face.

Support

Browsers Filtered

  • Safari
  • Chrome¹
  • Opera
  • Gecko-based browsers
  • Konqueror²

TODO

  • SVG format [planned]

Notes

Internet Explorer supports @font-face since version 4.
Still if you wanna target a specific version of IE you could use downlevel-revealed conditional comments and add ||(!+"\v1") to the filter.

Reminder: ids can potentially pollute the global scope so remember to avoid naming them chrome, opera or konqueror.

¹ except 4.0.249.2–11
² except 4.3 ß1–RC1