|
|
const PSEUDO_ELEMENTS = ["::after", "::before", "::first-line", "::first-letter", ":before", ":after", ":first-line", ":first-letter", "::placeholder", "::selection", "::marker", "::cue", "::slotted", "::spelling-error", "::grammar-error"];
|
|
const PSEUDO_ELEMENTS = ["::after", "::before", "::first-line", "::first-letter", ":before", ":after", ":first-line", ":first-letter", "::placeholder", "::selection", "::marker", "::cue", "::slotted", "::spelling-error", "::grammar-error"];
|
|
|
return { src: fontSource.match(REGEXP_FONT_SRC)[1], format: fontFormat };
|
|
return { src: fontSource.match(REGEXP_FONT_SRC)[1], format: fontFormat };
|
|
|
let woffFontFound = fontSources.find(fontSource => fontTest(fontSource, "woff2-variations"));
|
|
let woffFontFound = fontSources.find(fontSource => fontTest(fontSource, "woff2-variations"));
|
|
|
woffFontFound = fontSources.find(fontSource => fontTest(fontSource, "woff2"));
|
|
woffFontFound = fontSources.find(fontSource => fontTest(fontSource, "woff2"));
|