From 796fd9ec910e81145ae8973d817ac805626491f8 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 17 Jun 2020 11:30:50 +0300 Subject: [PATCH] CSS Fonts Module L4 parts (ED 2020-06-11) --- vendor-overwrites/csslint/parserlib.js | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index da2f3bc9..3b401d7f 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -347,19 +347,28 @@ self.parserlib = (() => { 'flood-opacity': '', 'font': ' | caption | icon | menu | message-box | small-caption | status-bar', 'font-family': '', - 'font-feature-settings': ' | normal', + 'font-feature-settings': '# | normal', 'font-kerning': 'auto | normal | none', + 'font-language-override': 'normal | ', + 'font-optical-sizing': 'auto | none', + 'font-palette': 'none | normal | light | dark | ', 'font-size': '', 'font-size-adjust': ' | none', 'font-stretch': '', 'font-style': '', + 'font-synthesis': 'none | [ weight || style ]', + 'font-synthesis-style': 'auto | none', + 'font-synthesis-weight': 'auto | none', + 'font-synthesis-small-caps': 'auto | none', 'font-variant': ' | normal | none', 'font-variant-alternates': ' | normal', 'font-variant-caps': ' | normal', 'font-variant-east-asian': ' | normal', + 'font-variant-emoji': 'auto | text | emoji | unicode', 'font-variant-ligatures': ' | normal | none', 'font-variant-numeric': ' | normal', 'font-variant-position': 'normal | sub | super', + 'font-variation-settings': 'normal | [ ]#', 'font-weight': '', '-ms-flex-align': 'start | end | center | stretch | baseline', '-ms-flex-order': '', @@ -747,16 +756,16 @@ self.parserlib = (() => { '': 'nowrap | wrap | wrap-reverse', '': ' | | ', - '': 'normal | ultra-condensed | extra-condensed | condensed | semi-condensed | ' + + '': 'normal | | ultra-condensed | extra-condensed | condensed | semi-condensed | ' + 'semi-expanded | expanded | extra-expanded | ultra-expanded', - '': 'normal | italic | oblique', + '': 'normal | italic | oblique ?', '': 'small-caps | all-small-caps | petite-caps | all-petite-caps | ' + 'unicase | titling-caps', '': 'normal | small-caps', - '': 'normal | bold | bolder | lighter | ' + - '100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900', + '': 'normal | bold | bolder | lighter | ', - '': 'serif | sans-serif | cursive | fantasy | monospace', + '': 'serif | sans-serif | cursive | fantasy | monospace | system-ui | emoji | ' + + 'math | fangsong | ui-serif | ui-sans-serif | ui-monospace | ui-rounded', '': ' | fill-box | stroke-box | view-box',