@eslint/css-tree 3.3.2 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/data/patch.json CHANGED
@@ -6,14 +6,6 @@
6
6
  "container": {
7
7
  "prelude": "[ <container-name> ]? <container-condition>"
8
8
  },
9
- "font-face": {
10
- "descriptors": {
11
- "unicode-range": {
12
- "comment": "replaces <unicode-range>, an old production name",
13
- "syntax": "<urange>#"
14
- }
15
- }
16
- },
17
9
  "nest": {
18
10
  "prelude": "<complex-selector-list>"
19
11
  },
@@ -63,6 +55,10 @@
63
55
  }
64
56
  },
65
57
  "properties": {
58
+ "-moz-background-clip": {
59
+ "comment": "deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
60
+ "syntax": "padding | border"
61
+ },
66
62
  "-moz-border-radius-bottomleft": {
67
63
  "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius",
68
64
  "syntax": "<'border-bottom-left-radius'>"
@@ -146,6 +142,10 @@
146
142
  ],
147
143
  "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"
148
144
  },
145
+ "-webkit-background-clip": {
146
+ "comment": "https://developer.mozilla.org/en/docs/Web/CSS/background-clip",
147
+ "syntax": "[ <visual-box> | border | padding | content | text ]#"
148
+ },
149
149
  "-webkit-column-break-after": {
150
150
  "comment": "added, http://help.dottoro.com/lcrthhhv.php",
151
151
  "syntax": "always | auto | avoid"
@@ -362,17 +362,6 @@
362
362
  "comment": "https://www.w3.org/TR/css3-speech/#property-index",
363
363
  "syntax": "<time> | none | x-weak | weak | medium | strong | x-strong"
364
364
  },
365
- "scroll-timeline": {
366
- "comment": "fix according to spec",
367
- "references": [
368
- "https://www.w3.org/TR/scroll-animations-1/#scroll-timeline-shorthand"
369
- ],
370
- "syntax": "[ <'scroll-timeline-name'> || <'scroll-timeline-axis'> ]#"
371
- },
372
- "src": {
373
- "comment": "added @font-face's src property https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src",
374
- "syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#"
375
- },
376
365
  "speak": {
377
366
  "comment": "https://www.w3.org/TR/css3-speech/#property-index",
378
367
  "syntax": "auto | never | always"
@@ -416,10 +405,6 @@
416
405
  "comment": "added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi",
417
406
  "syntax": "| -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate | -webkit-isolate-override | -webkit-plaintext"
418
407
  },
419
- "unicode-range": {
420
- "comment": "added missed property https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range",
421
- "syntax": "<urange>#"
422
- },
423
408
  "voice-balance": {
424
409
  "comment": "https://www.w3.org/TR/css3-speech/#property-index",
425
410
  "syntax": "<number> | left | center | right | leftwards | rightwards"
@@ -565,14 +550,6 @@
565
550
  "comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter",
566
551
  "syntax": "<ident-token> | <function-token> <any-value>? )"
567
552
  },
568
- "absolute-color-base": {
569
- "comment": "https://www.w3.org/TR/css-color-4/#color-syntax",
570
- "syntax": "<hex-color> | <absolute-color-function> | <named-color> | transparent"
571
- },
572
- "absolute-color-function": {
573
- "comment": "https://www.w3.org/TR/css-color-4/#color-syntax",
574
- "syntax": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
575
- },
576
553
  "age": {
577
554
  "comment": "https://www.w3.org/TR/css3-speech/#voice-family",
578
555
  "syntax": "child | young | old"
@@ -591,10 +568,6 @@
591
568
  "comment": "added attr(), see https://github.com/csstree/csstree/issues/201",
592
569
  "syntax": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> ]+"
593
570
  },
594
- "container-name": {
595
- "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
596
- "syntax": "<custom-ident>"
597
- },
598
571
  "container-condition": {
599
572
  "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
600
573
  "syntax": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
@@ -602,6 +575,10 @@
602
575
  "coord-box": {
603
576
  "syntax": "content-box | padding-box | border-box | fill-box | stroke-box | view-box"
604
577
  },
578
+ "cubic-bezier-easing-function": {
579
+ "comment": "missed, https://drafts.csswg.org/css-easing-1/#cubic-bezier-easing-function",
580
+ "syntax": "ease | ease-in | ease-out | ease-in-out | cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )"
581
+ },
605
582
  "element()": {
606
583
  "comment": "https://drafts.csswg.org/css-gcpm/#element-syntax & https://drafts.csswg.org/css-images-4/#element-notation",
607
584
  "syntax": "element( <custom-ident> , [ first | start | last | first-except ]? ) | element( <id-selector> )"
@@ -625,12 +602,6 @@
625
602
  "generic-script-specific": {
626
603
  "syntax": "generic(kai) | generic(fangsong) | generic(nastaliq)"
627
604
  },
628
- "generic-complete": {
629
- "syntax": "serif | sans-serif | system-ui | cursive | fantasy | math | monospace"
630
- },
631
- "generic-incomplete": {
632
- "syntax": "ui-serif | ui-sans-serif | ui-monospace | ui-rounded"
633
- },
634
605
  "-non-standard-generic-family": {
635
606
  "syntax": "-apple-system | BlinkMacSystemFont",
636
607
  "references": [
@@ -796,9 +767,6 @@
796
767
  "xyz-space": {
797
768
  "syntax": "xyz | xyz-d50 | xyz-d65"
798
769
  },
799
- "basic-shape": {
800
- "syntax": "<inset()> | <xywh()> | <rect()> | <circle()> | <ellipse()> | <polygon()> | <path()>"
801
- },
802
770
  "query-in-parens": {
803
771
  "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
804
772
  "syntax": "( <container-condition> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
@@ -807,10 +775,6 @@
807
775
  "comment": "missed, https://drafts.csswg.org/css-contain-3/#typedef-size-feature",
808
776
  "syntax": "<mf-plain> | <mf-boolean> | <mf-range>"
809
777
  },
810
- "style-feature": {
811
- "comment": "missed, https://drafts.csswg.org/css-contain-3/#typedef-style-feature",
812
- "syntax": "<declaration>"
813
- },
814
778
  "style-query": {
815
779
  "comment": "missed, https://drafts.csswg.org/css-contain-3/#container-rule",
816
780
  "syntax": "<style-condition> | <style-feature>"
@@ -840,24 +804,6 @@
840
804
  "https://drafts.csswg.org/css-anchor-position-1/#typedef-position-area"
841
805
  ]
842
806
  },
843
- "anchor()": {
844
- "syntax": "anchor( <anchor-element>? && <anchor-side>, <length-percentage>? )",
845
- "comment": "missed",
846
- "references": [
847
- "https://drafts.csswg.org/css-anchor-position-1/#anchor-pos"
848
- ]
849
- },
850
- "anchor-size()": {
851
- "syntax": "anchor-size( [ <anchor-element> || <anchor-size> ]? , <length-percentage>? )",
852
- "comment": "missed",
853
- "references": [
854
- "https://drafts.csswg.org/css-anchor-position-1/#funcdef-anchor-size"
855
- ]
856
- },
857
- "anchor-element": {
858
- "syntax": "<dashed-ident>",
859
- "comment": "missed, https://drafts.csswg.org/css-anchor-position-1/#typedef-anchor-element"
860
- },
861
807
  "font-variant-css2": {
862
808
  "syntax": "normal | small-caps",
863
809
  "comment": "new definition on font-4, https://drafts.csswg.org/css-fonts-4/#font-variant-css21-values"