From c06f7ee0a40255214c477e13d9b956a7e07c2900 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 15:05:55 +0800 Subject: postcss,(plugins): nanocss, postcss-preset-env --- node_modules/css-tree/data/patch.json | 725 ++++++++++++++++++++++++++++++++++ 1 file changed, 725 insertions(+) create mode 100644 node_modules/css-tree/data/patch.json (limited to 'node_modules/css-tree/data') diff --git a/node_modules/css-tree/data/patch.json b/node_modules/css-tree/data/patch.json new file mode 100644 index 00000000..e57f7f73 --- /dev/null +++ b/node_modules/css-tree/data/patch.json @@ -0,0 +1,725 @@ +{ + "atrules": { + "charset": { + "prelude": "" + }, + "font-face": { + "descriptors": { + "unicode-range": { + "comment": "replaces , an old production name", + "syntax": "#" + } + } + }, + "nest": { + "prelude": "" + } + }, + "properties": { + "-moz-background-clip": { + "comment": "deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip", + "syntax": "padding | border" + }, + "-moz-border-radius-bottomleft": { + "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius", + "syntax": "<'border-bottom-left-radius'>" + }, + "-moz-border-radius-bottomright": { + "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius", + "syntax": "<'border-bottom-right-radius'>" + }, + "-moz-border-radius-topleft": { + "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius", + "syntax": "<'border-top-left-radius'>" + }, + "-moz-border-radius-topright": { + "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius", + "syntax": "<'border-bottom-right-radius'>" + }, + "-moz-control-character-visibility": { + "comment": "firefox specific keywords, https://bugzilla.mozilla.org/show_bug.cgi?id=947588", + "syntax": "visible | hidden" + }, + "-moz-osx-font-smoothing": { + "comment": "misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth", + "syntax": "auto | grayscale" + }, + "-moz-user-select": { + "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/user-select", + "syntax": "none | text | all | -moz-none" + }, + "-ms-flex-align": { + "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align", + "syntax": "start | end | center | baseline | stretch" + }, + "-ms-flex-item-align": { + "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align", + "syntax": "auto | start | end | center | baseline | stretch" + }, + "-ms-flex-line-pack": { + "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack", + "syntax": "start | end | center | justify | distribute | stretch" + }, + "-ms-flex-negative": { + "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation", + "syntax": "<'flex-shrink'>" + }, + "-ms-flex-pack": { + "comment": "misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack", + "syntax": "start | end | center | justify | distribute" + }, + "-ms-flex-order": { + "comment": "misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx", + "syntax": "" + }, + "-ms-flex-positive": { + "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation", + "syntax": "<'flex-grow'>" + }, + "-ms-flex-preferred-size": { + "comment": "misssed old syntax implemented in IE; TODO: find references for comfirmation", + "syntax": "<'flex-basis'>" + }, + "-ms-interpolation-mode": { + "comment": "https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx", + "syntax": "nearest-neighbor | bicubic" + }, + "-ms-grid-column-align": { + "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx", + "syntax": "start | end | center | stretch" + }, + "-ms-grid-row-align": { + "comment": "add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx", + "syntax": "start | end | center | stretch" + }, + "-ms-hyphenate-limit-last": { + "comment": "misssed old syntax implemented in IE; https://www.w3.org/TR/css-text-4/#hyphenate-line-limits", + "syntax": "none | always | column | page | spread" + }, + "-webkit-appearance": { + "comment": "webkit specific keywords", + "references": [ + "http://css-infos.net/property/-webkit-appearance" + ], + "syntax": "none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button" + }, + "-webkit-background-clip": { + "comment": "https://developer.mozilla.org/en/docs/Web/CSS/background-clip", + "syntax": "[ | border | padding | content | text ]#" + }, + "-webkit-column-break-after": { + "comment": "added, http://help.dottoro.com/lcrthhhv.php", + "syntax": "always | auto | avoid" + }, + "-webkit-column-break-before": { + "comment": "added, http://help.dottoro.com/lcxquvkf.php", + "syntax": "always | auto | avoid" + }, + "-webkit-column-break-inside": { + "comment": "added, http://help.dottoro.com/lclhnthl.php", + "syntax": "always | auto | avoid" + }, + "-webkit-font-smoothing": { + "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth", + "syntax": "auto | none | antialiased | subpixel-antialiased" + }, + "-webkit-mask-box-image": { + "comment": "missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image", + "syntax": "[ | | none ] [ {4} <-webkit-mask-box-repeat>{2} ]?" + }, + "-webkit-print-color-adjust": { + "comment": "missed", + "references": [ + "https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust" + ], + "syntax": "economy | exact" + }, + "-webkit-text-security": { + "comment": "missed; http://help.dottoro.com/lcbkewgt.php", + "syntax": "none | circle | disc | square" + }, + "-webkit-user-drag": { + "comment": "missed; http://help.dottoro.com/lcbixvwm.php", + "syntax": "none | element | auto" + }, + "-webkit-user-select": { + "comment": "auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select", + "syntax": "auto | none | text | all" + }, + "alignment-baseline": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty" + ], + "syntax": "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical" + }, + "background-clip": { + "comment": "used from CSS Backgrounds and Borders 4 since it adds new values", + "references": [ + "https://github.com/csstree/csstree/issues/190" + ], + "syntax": "#" + }, + "baseline-shift": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty" + ], + "syntax": "baseline | sub | super | " + }, + "behavior": { + "comment": "added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx", + "syntax": "+" + }, + "clip-rule": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty" + ], + "syntax": "nonzero | evenodd" + }, + "cue": { + "comment": "https://www.w3.org/TR/css3-speech/#property-index", + "syntax": "<'cue-before'> <'cue-after'>?" + }, + "cue-after": { + "comment": "https://www.w3.org/TR/css3-speech/#property-index", + "syntax": " ? | none" + }, + "cue-before": { + "comment": "https://www.w3.org/TR/css3-speech/#property-index", + "syntax": " ? | none" + }, + "cursor": { + "comment": "added legacy keywords: hand, -webkit-grab. -webkit-grabbing, -webkit-zoom-in, -webkit-zoom-out, -moz-grab, -moz-grabbing, -moz-zoom-in, -moz-zoom-out", + "references": [ + "https://www.sitepoint.com/css3-cursor-styles/" + ], + "syntax": "[ [ [ ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]" + }, + "display": { + "comment": "extended with -ms-flexbox", + "syntax": "| <-non-standard-display>" + }, + "position": { + "comment": "extended with -webkit-sticky", + "syntax": "| -webkit-sticky" + }, + "dominant-baseline": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty" + ], + "syntax": "auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge" + }, + "image-rendering": { + "comment": "extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality", + "references": [ + "https://developer.mozilla.org/en/docs/Web/CSS/image-rendering", + "https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty" + ], + "syntax": "| optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>" + }, + "fill": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#FillProperty" + ], + "syntax": "" + }, + "fill-opacity": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#FillProperty" + ], + "syntax": "" + }, + "fill-rule": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#FillProperty" + ], + "syntax": "nonzero | evenodd" + }, + "filter": { + "comment": "extend with IE legacy syntaxes", + "syntax": "| <-ms-filter-function-list>" + }, + "glyph-orientation-horizontal": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty" + ], + "syntax": "" + }, + "glyph-orientation-vertical": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty" + ], + "syntax": "" + }, + "kerning": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/text.html#KerningProperty" + ], + "syntax": "auto | " + }, + "letter-spacing": { + "comment": "fix syntax -> ", + "references": [ + "https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing" + ], + "syntax": "normal | " + }, + "marker": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#MarkerProperties" + ], + "syntax": "none | " + }, + "marker-end": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#MarkerProperties" + ], + "syntax": "none | " + }, + "marker-mid": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#MarkerProperties" + ], + "syntax": "none | " + }, + "marker-start": { + "comment": "added SVG property", + "references": [ + "https://www.w3.org/TR/SVG/painting.html#MarkerProperties" + ], + "syntax": "none | " + }, + "max-width": { + "comment": "extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/max-width", + "syntax": "| <-non-standard-width>" + }, + "width": { + "references": [ + "https://developer.mozilla.org/en-US/docs/Web/CSS/width", + "https://github.com/csstree/stylelint-validator/issues/29" + ], + "syntax": "| fill | stretch | intrinsic | -moz-max-content | -webkit-max-content | -moz-fit-content | -webkit-fit-content" + }, + "min-width": { + "comment": "extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width", + "syntax": "| <-non-standard-width>" + }, + "overflow": { + "comment": "extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow", + "syntax": "| <-non-standard-overflow>" + }, + "pause": { + "comment": "https://www.w3.org/TR/css3-speech/#property-index", + "syntax": "<'pause-before'> <'pause-after'>?" + }, + "pause-after": { + "comment": "https://www.w3.org/TR/css3-speech/#property-index", + "syntax": "