CSS Intrinsic & Extrinsic Sizing L3 for *width/*height
https://drafts.csswg.org/css-sizing-3/#sizing-properties
This commit is contained in:
parent
e7bd155300
commit
57f0afbc9c
|
@ -361,7 +361,7 @@ self.parserlib = (() => {
|
||||||
|
|
||||||
// H
|
// H
|
||||||
'hanging-punctuation': 1,
|
'hanging-punctuation': 1,
|
||||||
'height': '<margin-width> | <content-sizing>',
|
'height': 'auto | <width-height>',
|
||||||
'hyphenate-after': '<integer> | auto',
|
'hyphenate-after': '<integer> | auto',
|
||||||
'hyphenate-before': '<integer> | auto',
|
'hyphenate-before': '<integer> | auto',
|
||||||
'hyphenate-character': '<string> | auto',
|
'hyphenate-character': '<string> | auto',
|
||||||
|
@ -422,12 +422,10 @@ self.parserlib = (() => {
|
||||||
'marquee-speed': 1,
|
'marquee-speed': 1,
|
||||||
'marquee-style': 1,
|
'marquee-style': 1,
|
||||||
'mask': 1,
|
'mask': 1,
|
||||||
'max-height': '<length> | <percentage> | <content-sizing> | none',
|
'max-height': 'none | <width-height>',
|
||||||
'max-width': '<length> | <percentage> | <content-sizing> | none',
|
'max-width': 'none | <width-height>',
|
||||||
'min-height': '<length> | <percentage> | <content-sizing> | contain-floats | ' +
|
'min-height': 'auto | <width-height>',
|
||||||
'-moz-contain-floats | -webkit-contain-floats',
|
'min-width': 'auto | <width-height>',
|
||||||
'min-width': '<length> | <percentage> | <content-sizing> | contain-floats | ' +
|
|
||||||
'-moz-contain-floats | -webkit-contain-floats',
|
|
||||||
'mix-blend-mode': '<blend-mode>',
|
'mix-blend-mode': '<blend-mode>',
|
||||||
'move-to': 1,
|
'move-to': 1,
|
||||||
|
|
||||||
|
@ -592,7 +590,7 @@ self.parserlib = (() => {
|
||||||
' -o-pre-wrap | -moz-pre-wrap | -hp-pre-wrap',
|
' -o-pre-wrap | -moz-pre-wrap | -hp-pre-wrap',
|
||||||
'white-space-collapse': 1,
|
'white-space-collapse': 1,
|
||||||
'widows': '<integer>',
|
'widows': '<integer>',
|
||||||
'width': '<length> | <percentage> | <content-sizing> | auto',
|
'width': 'auto | <width-height>',
|
||||||
'will-change': '<will-change>',
|
'will-change': '<will-change>',
|
||||||
'word-break': 'normal | keep-all | break-all',
|
'word-break': 'normal | keep-all | break-all',
|
||||||
'word-spacing': '<length> | normal',
|
'word-spacing': '<length> | normal',
|
||||||
|
@ -645,10 +643,8 @@ self.parserlib = (() => {
|
||||||
'<content-distribution>': 'space-between | space-around | space-evenly | stretch',
|
'<content-distribution>': 'space-between | space-around | space-evenly | stretch',
|
||||||
'<content-position>': 'center | start | end | flex-start | flex-end',
|
'<content-position>': 'center | start | end | flex-start | flex-end',
|
||||||
|
|
||||||
// https://www.w3.org/TR/css3-sizing/#width-height-keywords
|
'<width-height>': '<length-percentage> | min-content | max-content | fit-content() | ' +
|
||||||
'<content-sizing>': 'fill-available | -moz-available | -webkit-fill-available | max-content | ' +
|
'-moz-available | -webkit-fill-available',
|
||||||
'-moz-max-content | -webkit-max-content | min-content | -moz-min-content | ' +
|
|
||||||
'-webkit-min-content | fit-content | -moz-fit-content | -webkit-fit-content',
|
|
||||||
|
|
||||||
'<cubic-bezier-timing-function>': 'ease | ease-in | ease-out | ease-in-out | cubic-bezier()',
|
'<cubic-bezier-timing-function>': 'ease | ease-in | ease-out | ease-in-out | cubic-bezier()',
|
||||||
|
|
||||||
|
@ -1005,6 +1001,8 @@ self.parserlib = (() => {
|
||||||
'attr': '<ident> [ string | color | url | integer | number | length | angle | time | frequency | <unit> ]? ' +
|
'attr': '<ident> [ string | color | url | integer | number | length | angle | time | frequency | <unit> ]? ' +
|
||||||
'[ , <attr-fallback> ]?',
|
'[ , <attr-fallback> ]?',
|
||||||
|
|
||||||
|
'fit-content': '<length-percentage>',
|
||||||
|
|
||||||
'rgb': '<rgb-color>',
|
'rgb': '<rgb-color>',
|
||||||
'rgba': '<rgb-color>',
|
'rgba': '<rgb-color>',
|
||||||
'hsl': '<hsl-color>',
|
'hsl': '<hsl-color>',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user