google-webfonts-helper icon indicating copy to clipboard operation
google-webfonts-helper copied to clipboard

What does undefined local('') do in CSS snippets?

Open ClarusDignus opened this issue 4 years ago • 3 comments

Does the undefined local('') mean: use local font or ignore local font?

E.g.:

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('roboto-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('roboto-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('roboto-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('roboto-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('roboto-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('roboto-v29-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

ClarusDignus avatar Mar 29 '22 12:03 ClarusDignus

Duplicate of: #124

gsauthof avatar May 14 '22 20:05 gsauthof

Duplicate of: #124

There's literally no solution to the problem in that thread.

bdlowery avatar Jun 19 '22 07:06 bdlowery

There's literally no solution to the problem in that thread.

This is sad, but doesn't make it less of a duplicate. Also the other issue is still open. Having multiple issues open for the same problem doesn't necessarily help to arrive at a resolution faster. Fragmentation makes it harder to track.

gsauthof avatar Jul 06 '22 20:07 gsauthof

v1.1.0 removes local('')

majodev avatar Jan 29 '23 17:01 majodev