From 2afbe986189c1b1ee75612a62e2e3ca670a06ffd Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 17 Jun 2020 11:00:38 +0300 Subject: [PATCH] CSS Text Module L3 (ED 2020-06-08) --- vendor-overwrites/csslint/parserlib.js | 29 +++++++++++++------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index 058a24b6..da2f3bc9 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -392,7 +392,7 @@ self.parserlib = (() => { 'grid-gap': ' ?', // H - 'hanging-punctuation': 1, + 'hanging-punctuation': 'none | [ first || [ force-end | allow-end ] || last ]', 'height': 'auto | ', 'hyphenate-after': ' | auto', 'hyphenate-before': ' | auto', @@ -431,7 +431,7 @@ self.parserlib = (() => { 'left': '', 'letter-spacing': ' | normal', 'line-height': '', - 'line-break': 'auto | loose | normal | strict', + 'line-break': 'auto | loose | normal | strict | anywhere', 'line-stacking': 1, 'line-stacking-ruby': 'exclude-ruby | include-ruby', 'line-stacking-shift': 'consider-shifts | disregard-shifts', @@ -502,7 +502,7 @@ self.parserlib = (() => { 'overflow-block': '', 'overflow-inline': '', 'overflow-style': 1, - 'overflow-wrap': 'normal | break-word', + 'overflow-wrap': 'normal | break-word | anywhere', 'overflow-x': '', 'overflow-y': '', @@ -588,14 +588,14 @@ self.parserlib = (() => { // T 'table-layout': 'auto | fixed', - 'tab-size': ' | ', + 'tab-size': ' | ', 'target': 1, 'target-name': 1, 'target-new': 1, 'target-position': 1, - 'text-align': 'start | end | left | right | center | justify | match-parent | justify-all', - 'text-align-all': 'start | end | left | right | center | justify | match-parent', - 'text-align-last': 'auto | start | end | left | right | center | justify', + 'text-align': ' | justify-all', + 'text-align-all': '', + 'text-align-last': ' | auto', 'text-anchor': 'start | middle | end', 'text-decoration': ' || || ', 'text-decoration-color': '', @@ -607,13 +607,13 @@ self.parserlib = (() => { 'text-emphasis-style': '', 'text-emphasis-position': '[ over | under ] && [ right | left ]?', 'text-height': 1, - 'text-indent': ' | ', - 'text-justify': 'auto | none | inter-word | inter-ideograph | inter-cluster | distribute | kashida', + 'text-indent': ' && hanging? && each-line?', + 'text-justify': 'auto | none | inter-word | inter-character', 'text-outline': 1, 'text-overflow': 'clip | ellipsis', 'text-rendering': 'auto | optimizeSpeed | optimizeLegibility | geometricPrecision', 'text-shadow': 'none | [ ? && {2,3} ]#', - 'text-transform': 'capitalize | uppercase | lowercase | none', + 'text-transform': 'none | [ capitalize | uppercase | lowercase ] || full-width || full-size-kana', 'text-underline-position': 'auto | [ under || [ left | right ] ]', 'text-wrap': 'normal | none | avoid', 'top': '', @@ -650,15 +650,14 @@ self.parserlib = (() => { 'volume': 1, // W - 'white-space': 'normal | pre | nowrap | pre-wrap | pre-line | -pre-wrap |' + - ' -o-pre-wrap | -moz-pre-wrap | -hp-pre-wrap', + 'white-space': 'normal | pre | nowrap | pre-wrap | break-spaces | pre-line', 'white-space-collapse': 1, 'widows': '', 'width': 'auto | ', 'will-change': '', - 'word-break': 'normal | keep-all | break-all', + 'word-break': 'normal | keep-all | break-all | break-word', 'word-spacing': ' | normal', - 'word-wrap': 'normal | break-word', + 'word-wrap': 'normal | break-word | anywhere', 'writing-mode': 'horizontal-tb | vertical-rl | vertical-lr | lr-tb | rl-tb | tb-rl | ' + 'bt-rl | tb-lr | bt-lr | lr-bt | rl-bt | lr | rl | tb', @@ -868,6 +867,8 @@ self.parserlib = (() => { '': part => part.type === 'string', + '': 'start | end | left | right | center | justify | match-parent', + '': 'solid | double | dotted | dashed | wavy', '