diff --git a/packages/css-syntax-patches-for-csstree/dist/index.json b/packages/css-syntax-patches-for-csstree/dist/index.json index 0ae3e285b..3532933d7 100644 --- a/packages/css-syntax-patches-for-csstree/dist/index.json +++ b/packages/css-syntax-patches-for-csstree/dist/index.json @@ -14,9 +14,8 @@ }, "types": { "axis": "block | inline | x | y", - "basic-shape": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( [ {2} ]? [ at ]? ) | polygon( <'fill-rule'>? , [ ]# ) | path( <'fill-rule'>? , )", + "basic-shape": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( [ {2} ]? [ at ]? ) | polygon( <'fill-rule'>? [ round ]? , [ ]# ) | path( <'fill-rule'>? , )", "bottom": " | auto", - "color": " | currentColor | | | | <-non-standard-color>", "color()": "color( [ from ]? [ / [ | none ] ]? )", "colorspace-params": "[ | | | | ]", "compat-special": "textfield | menulist-button", @@ -25,7 +24,6 @@ "hsl()": "[ | ]", "hsla()": "[ | ]", "hwb()": "hwb( [ from ]? [ | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", - "image": " | | | | | | ", "image-set-option": "[ | ] [ || type( ) ]?", "lab()": "lab( [ from ]? [ | | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", "lch()": "lch( [ from ]? [ | | none ] [ | | none ] [ | none ] [ / [ | none ] ]? )", @@ -38,7 +36,6 @@ "modern-hsla-syntax": "hsla( [ from ]? [ | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", "modern-rgb-syntax": "rgb( [ from ]? [ | | none ]{3} [ / [ | none ] ]? )", "modern-rgba-syntax": "rgba( [ from ]? [ | | none ]{3} [ / [ | none ] ]? )", - "named-color": "transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen", "oklab()": "oklab( [ from ]? [ | | none ] [ | | none ] [ | | none ] [ / [ | none ] ]? )", "oklch()": "oklch( [ from ]? [ | | none ] [ | | none ] [ | none ] [ / [ | none ] ]? )", "paint-box": " | fill-box | stroke-box", diff --git a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json index 5656138be..39a841551 100644 --- a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json +++ b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json @@ -1028,7 +1028,7 @@ "bottom": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "", "merged": false, "tests": { @@ -1285,7 +1285,7 @@ "container-type": { "type": "modified", "syntax-before": "normal || [ size | inline-size ]", - "syntax-after": "normal | size | inline-size", + "syntax-after": "normal | [ [ size | inline-size ] || scroll-state ]", "comment": "", "merged": false, "tests": { @@ -1417,7 +1417,7 @@ "display": { "type": "modified", "syntax-before": "[ || ] | | | | | <-non-standard-display>", - "syntax-after": "[ || ] | | | | | || [ | math ]", + "syntax-after": "[ || ] | | | | | masonry | inline-masonry | || [ | math ]", "comment": "", "merged": false, "tests": { @@ -1670,7 +1670,7 @@ "font": { "type": "modified", "syntax-before": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | | <-non-standard-font>", - "syntax-after": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | ", + "syntax-after": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | ", "comment": "", "merged": false, "tests": { @@ -1799,6 +1799,17 @@ "failing": [] } }, + "grid-auto-flow": { + "type": "modified", + "syntax-before": "[ row | column ] || dense", + "syntax-after": "[ row | column | row-reverse | column-reverse ] || dense || wrap-reverse", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, "grid-template-columns": { "type": "modified", "syntax-before": "none | | | subgrid ?", @@ -1824,7 +1835,7 @@ "height": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "", "merged": false, "tests": { @@ -2040,7 +2051,7 @@ "left": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "", "merged": false, "tests": { @@ -2216,7 +2227,7 @@ "margin-bottom": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "", "merged": false, "tests": { @@ -2271,7 +2282,7 @@ "margin-left": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "", "merged": false, "tests": { @@ -2282,7 +2293,7 @@ "margin-right": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "", "merged": false, "tests": { @@ -2293,7 +2304,7 @@ "margin-top": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "", "merged": false, "tests": { @@ -2400,6 +2411,94 @@ "failing": [] } }, + "masonry": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'masonry-template-areas'> || <'masonry-template-tracks'> || <'masonry-direction'> || <'masonry-fill'>", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-auto-tracks": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'grid-auto-columns'>", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-direction": { + "type": "added", + "syntax-before": "", + "syntax-after": "row | column | row-reverse | column-reverse", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-fill": { + "type": "added", + "syntax-before": "", + "syntax-after": "normal | reverse", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-flow": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'masonry-direction'> || <'masonry-fill'>", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-slack": { + "type": "added", + "syntax-before": "", + "syntax-after": "", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-template-areas": { + "type": "added", + "syntax-before": "", + "syntax-after": "none | ", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "masonry-template-tracks": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'grid-template-columns'>", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, "max-block-size": { "type": "modified", "syntax-before": "<'max-width'>", @@ -2414,7 +2513,7 @@ "max-height": { "type": "modified", "syntax-before": "none | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "", "merged": false, "tests": { @@ -2447,7 +2546,7 @@ "max-width": { "type": "modified", "syntax-before": "none | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "", "merged": false, "tests": { @@ -2469,7 +2568,7 @@ "min-height": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "", "merged": false, "tests": { @@ -2502,7 +2601,7 @@ "min-width": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "", "merged": false, "tests": { @@ -3049,7 +3148,7 @@ "right": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "", "merged": false, "tests": { @@ -3984,7 +4083,7 @@ "top": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "", "merged": false, "tests": { @@ -4149,7 +4248,7 @@ "width": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "", "merged": false, "tests": { diff --git a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json index 26dc09d99..ca6889110 100644 --- a/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json +++ b/packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json @@ -134,9 +134,9 @@ "basic-shape": { "type": "modified", "syntax-before": " | | | | ", - "syntax-after": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( ? [ at ]? ) | polygon( <'fill-rule'>? , [ ]# ) | path( <'fill-rule'>? , )", + "syntax-after": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( ? [ at ]? ) | polygon( <'fill-rule'>? [ round ]? , [ ]# ) | path( <'fill-rule'>? , )", "comment": "https://github.com/w3c/csswg-drafts/issues/10812", - "merged": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( [ {2} ]? [ at ]? ) | polygon( <'fill-rule'>? , [ ]# ) | path( <'fill-rule'>? , )", + "merged": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( [ {2} ]? [ at ]? ) | polygon( <'fill-rule'>? [ round ]? , [ ]# ) | path( <'fill-rule'>? , )", "tests": { "passing": [ { @@ -829,7 +829,18 @@ "cubic-bezier-easing-function": { "type": "added", "syntax-before": "", - "syntax-after": "ease | ease-in | ease-out | ease-in-out | cubic-bezier( , , , )", + "syntax-after": "ease | ease-in | ease-out | ease-in-out | ", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "cubic-bezier()": { + "type": "added", + "syntax-before": "", + "syntax-after": "cubic-bezier( [ , ]#{2} )", "comment": "", "merged": false, "tests": { @@ -924,7 +935,7 @@ "easing-function": { "type": "modified", "syntax-before": "linear | | ", - "syntax-after": "linear | | | ", + "syntax-after": " | | ", "comment": "", "merged": false, "tests": { @@ -1075,17 +1086,6 @@ "failing": [] } }, - "font-variant-css2": { - "type": "modified", - "syntax-before": "normal | small-caps", - "syntax-after": "[ normal | small-caps ]", - "comment": "", - "merged": false, - "tests": { - "passing": [], - "failing": [] - } - }, "font-weight-absolute": { "type": "modified", "syntax-before": "normal | bold | ", @@ -1097,17 +1097,6 @@ "failing": [] } }, - "font-width-css3": { - "type": "modified", - "syntax-before": "normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded", - "syntax-after": "[ normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded ]", - "comment": "", - "merged": false, - "tests": { - "passing": [], - "failing": [] - } - }, "frequency-percentage": { "type": "modified", "syntax-before": " | ", @@ -1769,7 +1758,7 @@ "linear-easing-function": { "type": "added", "syntax-before": "", - "syntax-after": "linear( )", + "syntax-after": "linear | ", "comment": "", "merged": false, "tests": { @@ -1799,43 +1788,10 @@ "failing": [] } }, - "linear-stop": { - "type": "added", - "syntax-before": "", - "syntax-after": " && ?", - "comment": "", - "merged": false, - "tests": { - "passing": [], - "failing": [] - } - }, - "linear-stop-length": { - "type": "added", - "syntax-before": "", - "syntax-after": "{1,2}", - "comment": "", - "merged": false, - "tests": { - "passing": [], - "failing": [] - } - }, - "linear-stop-list": { - "type": "added", - "syntax-before": "", - "syntax-after": "[ ]#", - "comment": "", - "merged": false, - "tests": { - "passing": [], - "failing": [] - } - }, "linear()": { "type": "added", "syntax-before": "", - "syntax-after": "linear( )", + "syntax-after": "linear( [ && {0,2} ]# )", "comment": "", "merged": false, "tests": { @@ -2595,7 +2551,7 @@ "query-in-parens": { "type": "modified", "syntax-before": "( ) | ( ) | style( ) | ", - "syntax-after": "( ) | ( ) | style( ) | ", + "syntax-after": "( ) | ( ) | style( ) | scroll-state( ) | ", "comment": "", "merged": false, "omit": true, @@ -2954,6 +2910,28 @@ "failing": [] } }, + "scroll-state-in-parens": { + "type": "added", + "syntax-before": "", + "syntax-after": "( ) | ( ) | ", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "scroll-state-query": { + "type": "added", + "syntax-before": "", + "syntax-after": "not | [ [ and ]* | [ or ]* ] | ", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, "scroll()": { "type": "modified", "syntax-before": "scroll( [ || ]? )", @@ -3164,7 +3142,18 @@ "step-easing-function": { "type": "added", "syntax-before": "", - "syntax-after": "step-start | step-end | steps( , ? )", + "syntax-after": "step-start | step-end | ", + "comment": "", + "merged": false, + "tests": { + "passing": [], + "failing": [] + } + }, + "steps()": { + "type": "added", + "syntax-before": "", + "syntax-after": "steps( , ? )", "comment": "", "merged": false, "tests": { diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json index 6018fd16c..899275a91 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json @@ -512,7 +512,7 @@ "bottom": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "" }, "box-shadow": { @@ -644,7 +644,7 @@ "container-type": { "type": "modified", "syntax-before": "normal || [ size | inline-size ]", - "syntax-after": "normal | size | inline-size", + "syntax-after": "normal | [ [ size | inline-size ] || scroll-state ]", "comment": "" }, "content": { @@ -716,7 +716,7 @@ "display": { "type": "modified", "syntax-before": "[ || ] | | | | | <-non-standard-display>", - "syntax-after": "[ || ] | | | | | || [ | math ]", + "syntax-after": "[ || ] | | | | | masonry | inline-masonry | || [ | math ]", "comment": "" }, "dominant-baseline": { @@ -854,7 +854,7 @@ "font": { "type": "modified", "syntax-before": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | | <-non-standard-font>", - "syntax-after": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | ", + "syntax-after": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | ", "comment": "" }, "font-palette": { @@ -923,6 +923,12 @@ "syntax-after": "auto | 0deg | 90deg | 0 | 90", "comment": "" }, + "grid-auto-flow": { + "type": "modified", + "syntax-before": "[ row | column ] || dense", + "syntax-after": "[ row | column | row-reverse | column-reverse ] || dense || wrap-reverse", + "comment": "" + }, "grid-template-columns": { "type": "modified", "syntax-before": "none | | | subgrid ?", @@ -938,7 +944,7 @@ "height": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "" }, "hyphenate-limit-last": { @@ -1052,7 +1058,7 @@ "left": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "" }, "lighting-color": { @@ -1148,7 +1154,7 @@ "margin-bottom": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "" }, "margin-break": { @@ -1178,19 +1184,19 @@ "margin-left": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "" }, "margin-right": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "" }, "margin-top": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": " | auto", + "syntax-after": " | auto | ", "comment": "" }, "margin-trim": { @@ -1247,6 +1253,54 @@ "syntax-after": "#", "comment": "" }, + "masonry": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'masonry-template-areas'> || <'masonry-template-tracks'> || <'masonry-direction'> || <'masonry-fill'>", + "comment": "" + }, + "masonry-auto-tracks": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'grid-auto-columns'>", + "comment": "" + }, + "masonry-direction": { + "type": "added", + "syntax-before": "", + "syntax-after": "row | column | row-reverse | column-reverse", + "comment": "" + }, + "masonry-fill": { + "type": "added", + "syntax-before": "", + "syntax-after": "normal | reverse", + "comment": "" + }, + "masonry-flow": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'masonry-direction'> || <'masonry-fill'>", + "comment": "" + }, + "masonry-slack": { + "type": "added", + "syntax-before": "", + "syntax-after": "", + "comment": "" + }, + "masonry-template-areas": { + "type": "added", + "syntax-before": "", + "syntax-after": "none | ", + "comment": "" + }, + "masonry-template-tracks": { + "type": "added", + "syntax-before": "", + "syntax-after": "<'grid-template-columns'>", + "comment": "" + }, "max-block-size": { "type": "modified", "syntax-before": "<'max-width'>", @@ -1256,7 +1310,7 @@ "max-height": { "type": "modified", "syntax-before": "none | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "" }, "max-inline-size": { @@ -1274,7 +1328,7 @@ "max-width": { "type": "modified", "syntax-before": "none | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "" }, "min-block-size": { @@ -1286,7 +1340,7 @@ "min-height": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "" }, "min-inline-size": { @@ -1304,7 +1358,7 @@ "min-width": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "" }, "mix-blend-mode": { @@ -1598,7 +1652,7 @@ "right": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "" }, "row-gap": { @@ -2108,7 +2162,7 @@ "top": { "type": "modified", "syntax-before": " | | auto", - "syntax-after": "auto | ", + "syntax-after": "auto | | | ", "comment": "" }, "transform-origin": { @@ -2198,7 +2252,7 @@ "width": { "type": "modified", "syntax-before": "auto | | | min-content | max-content | fit-content | fit-content( ) | stretch | <-non-standard-size>", - "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain", + "syntax-after": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | ", "comment": "" }, "word-break": { diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json index b1e6be801..c9a683136 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json @@ -74,7 +74,7 @@ "basic-shape": { "type": "modified", "syntax-before": " | | | | ", - "syntax-after": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( ? [ at ]? ) | polygon( <'fill-rule'>? , [ ]# ) | path( <'fill-rule'>? , )", + "syntax-after": "inset( {1,4} [ round <'border-radius'> ]? ) | xywh( {2} {2} [ round <'border-radius'> ]? ) | rect( [ | auto ]{4} [ round <'border-radius'> ]? ) | circle( ? [ at ]? ) | ellipse( ? [ at ]? ) | polygon( <'fill-rule'>? [ round ]? , [ ]# ) | path( <'fill-rule'>? , )", "comment": "" }, "basic-shape-rect": { @@ -386,7 +386,13 @@ "cubic-bezier-easing-function": { "type": "added", "syntax-before": "", - "syntax-after": "ease | ease-in | ease-out | ease-in-out | cubic-bezier( , , , )", + "syntax-after": "ease | ease-in | ease-out | ease-in-out | ", + "comment": "" + }, + "cubic-bezier()": { + "type": "added", + "syntax-before": "", + "syntax-after": "cubic-bezier( [ , ]#{2} )", "comment": "" }, "curve-command": { @@ -440,7 +446,7 @@ "easing-function": { "type": "modified", "syntax-before": "linear | | ", - "syntax-after": "linear | | | ", + "syntax-after": " | | ", "comment": "" }, "element()": { @@ -521,24 +527,12 @@ "syntax-after": "[ | | variations | palettes | incremental ]", "comment": "" }, - "font-variant-css2": { - "type": "modified", - "syntax-before": "normal | small-caps", - "syntax-after": "[ normal | small-caps ]", - "comment": "" - }, "font-weight-absolute": { "type": "modified", "syntax-before": "normal | bold | ", "syntax-after": "[ normal | bold | ]", "comment": "" }, - "font-width-css3": { - "type": "modified", - "syntax-before": "normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded", - "syntax-after": "[ normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded ]", - "comment": "" - }, "frequency-percentage": { "type": "modified", "syntax-before": " | ", @@ -740,7 +734,7 @@ "linear-easing-function": { "type": "added", "syntax-before": "", - "syntax-after": "linear( )", + "syntax-after": "linear | ", "comment": "" }, "linear-gradient-syntax": { @@ -755,28 +749,10 @@ "syntax-after": "linear-gradient( [ ] )", "comment": "" }, - "linear-stop": { - "type": "added", - "syntax-before": "", - "syntax-after": " && ?", - "comment": "" - }, - "linear-stop-length": { - "type": "added", - "syntax-before": "", - "syntax-after": "{1,2}", - "comment": "" - }, - "linear-stop-list": { - "type": "added", - "syntax-before": "", - "syntax-after": "[ ]#", - "comment": "" - }, "linear()": { "type": "added", "syntax-before": "", - "syntax-after": "linear( )", + "syntax-after": "linear( [ && {0,2} ]# )", "comment": "" }, "link-param": { @@ -1046,7 +1022,7 @@ "query-in-parens": { "type": "modified", "syntax-before": "( ) | ( ) | style( ) | ", - "syntax-after": "( ) | ( ) | style( ) | ", + "syntax-after": "( ) | ( ) | style( ) | scroll-state( ) | ", "comment": "" }, "radial-extent": { @@ -1181,6 +1157,18 @@ "syntax-after": "running( )", "comment": "" }, + "scroll-state-in-parens": { + "type": "added", + "syntax-before": "", + "syntax-after": "( ) | ( ) | ", + "comment": "" + }, + "scroll-state-query": { + "type": "added", + "syntax-before": "", + "syntax-after": "not | [ [ and ]* | [ or ]* ] | ", + "comment": "" + }, "scroll()": { "type": "modified", "syntax-before": "scroll( [ || ]? )", @@ -1268,7 +1256,13 @@ "step-easing-function": { "type": "added", "syntax-before": "", - "syntax-after": "step-start | step-end | steps( , ? )", + "syntax-after": "step-start | step-end | ", + "comment": "" + }, + "steps()": { + "type": "added", + "syntax-before": "", + "syntax-after": "steps( , ? )", "comment": "" }, "string()": { diff --git a/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json b/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json index 47d32b815..375ad3e5d 100644 --- a/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json +++ b/packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json @@ -468,7 +468,7 @@ "syntax": "{1,4}" }, "bottom": { - "syntax": "auto | " + "syntax": "auto | | | " }, "box-align": { "syntax": "start | center | end | baseline | stretch" @@ -639,7 +639,7 @@ "syntax": "none | +" }, "container-type": { - "syntax": "normal | size | inline-size" + "syntax": "normal | [ [ size | inline-size ] || scroll-state ]" }, "content": { "syntax": "normal | none | [ | ] [ / [ | | ]+ ]? | " @@ -723,7 +723,7 @@ "syntax": "ltr | rtl" }, "display": { - "syntax": "[ || ] | | | | | || [ | math ]" + "syntax": "[ || ] | | | | | masonry | inline-masonry | || [ | math ]" }, "dominant-baseline": { "syntax": "auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top" @@ -852,7 +852,7 @@ "syntax": "[ none | ]#" }, "font": { - "syntax": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | " + "syntax": "[ [ <'font-style'> || || <'font-weight'> || ]? <'font-size'> [ / <'line-height'> ]? <'font-family'># ] | " }, "font-family": { "syntax": "[ | ]#" @@ -969,7 +969,7 @@ "syntax": "+" }, "grid-auto-flow": { - "syntax": "[ row | column ] || dense" + "syntax": "[ row | column | row-reverse | column-reverse ] || dense || wrap-reverse" }, "grid-auto-rows": { "syntax": "+" @@ -1029,7 +1029,7 @@ "syntax": "none | [ first || [ force-end | allow-end ] || last ]" }, "height": { - "syntax": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain" + "syntax": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | " }, "-ms-high-contrast-adjust": { "syntax": "auto | none" @@ -1149,7 +1149,7 @@ "syntax": "auto | " }, "left": { - "syntax": "auto | " + "syntax": "auto | | | " }, "letter-spacing": { "syntax": "normal | " @@ -1212,7 +1212,7 @@ "syntax": "<'margin-top'>" }, "margin-bottom": { - "syntax": " | auto" + "syntax": " | auto | " }, "margin-break": { "syntax": "auto | keep | discard" @@ -1227,13 +1227,13 @@ "syntax": "<'margin-top'>" }, "margin-left": { - "syntax": " | auto" + "syntax": " | auto | " }, "margin-right": { - "syntax": " | auto" + "syntax": " | auto | " }, "margin-top": { - "syntax": " | auto" + "syntax": " | auto | " }, "margin-trim": { "syntax": "none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]" @@ -1346,9 +1346,33 @@ "mask-type": { "syntax": "luminance | alpha" }, + "masonry": { + "syntax": "<'masonry-template-areas'> || <'masonry-template-tracks'> || <'masonry-direction'> || <'masonry-fill'>" + }, "masonry-auto-flow": { "syntax": "[ pack | next ] || [ definite-first | ordered ]" }, + "masonry-auto-tracks": { + "syntax": "<'grid-auto-columns'>" + }, + "masonry-direction": { + "syntax": "row | column | row-reverse | column-reverse" + }, + "masonry-fill": { + "syntax": "normal | reverse" + }, + "masonry-flow": { + "syntax": "<'masonry-direction'> || <'masonry-fill'>" + }, + "masonry-slack": { + "syntax": "" + }, + "masonry-template-areas": { + "syntax": "none | " + }, + "masonry-template-tracks": { + "syntax": "<'grid-template-columns'>" + }, "math-depth": { "syntax": "auto-add | add( ) | " }, @@ -1362,7 +1386,7 @@ "syntax": "<'max-width'> | stretch | fit-content | contain" }, "max-height": { - "syntax": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain" + "syntax": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | " }, "max-inline-size": { "syntax": "<'max-width'> | stretch | fit-content | contain" @@ -1371,13 +1395,13 @@ "syntax": "none | " }, "max-width": { - "syntax": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain" + "syntax": "none | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | " }, "min-block-size": { "syntax": "<'min-width'> | stretch | fit-content | contain" }, "min-height": { - "syntax": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain" + "syntax": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | " }, "min-inline-size": { "syntax": "<'min-width'> | stretch | fit-content | contain" @@ -1386,7 +1410,7 @@ "syntax": "legacy | zero-if-scroll || zero-if-extrinsic" }, "min-width": { - "syntax": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain" + "syntax": "auto | | min-content | max-content | fit-content( ) | | stretch | fit-content | contain | " }, "mix-blend-mode": { "syntax": " | plus-darker | plus-lighter" @@ -1683,7 +1707,7 @@ "syntax": "