Skip to content

Commit 882dcd5

Browse files
committed
css-syntax-patches-for-csstree
1 parent fa78aee commit 882dcd5

8 files changed

Lines changed: 56 additions & 30 deletions

File tree

packages/css-syntax-patches-for-csstree/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changes to CSS Syntax Patches For CSSTree
22

3+
### Unreleased (patch)
4+
5+
- Update `@webref/css` to [`v6.21.2`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.21.2)
6+
7+
38
### 1.0.12
49

510
_May 27, 2025_

packages/css-syntax-patches-for-csstree/dist/index.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@
7474
"alignment-baseline": "| text-bottom | text-top",
7575
"animation-duration": "[ auto | <time [0s,∞]> ]#",
7676
"animation-trigger": "<single-animation-trigger>#",
77+
"animation-trigger-behavior": "<single-animation-trigger-behavior>#",
7778
"animation-trigger-exit-range": "[ <'animation-trigger-exit-range-start'> <'animation-trigger-exit-range-end'>? ]#",
7879
"animation-trigger-exit-range-end": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
7980
"animation-trigger-exit-range-start": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
8081
"animation-trigger-range": "[ <'animation-trigger-range-start'> <'animation-trigger-range-end'>? ]#",
8182
"animation-trigger-range-end": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
8283
"animation-trigger-range-start": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
8384
"animation-trigger-timeline": "<single-animation-timeline>#",
84-
"animation-trigger-type": "<single-animation-trigger-type>#",
8585
"appearance": "none | auto | base | <compat-auto> | <compat-special> | base",
8686
"backdrop-filter": "none | <filter-value-list>",
8787
"background": "<bg-layer>#? , <final-bg-layer>",
@@ -387,6 +387,7 @@
387387
"scroll-padding-left": "auto | <length-percentage [0,∞]>",
388388
"scroll-padding-right": "auto | <length-percentage [0,∞]>",
389389
"scroll-padding-top": "auto | <length-percentage [0,∞]>",
390+
"scroll-target-group": "none | auto",
390391
"scroll-timeline": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#",
391392
"shape-image-threshold": "<opacity-value>",
392393
"shape-inside": "auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display",
@@ -713,8 +714,8 @@
713714
"shape-command": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>",
714715
"shape()": "shape( <'fill-rule'>? from <position> , <shape-command># )",
715716
"single-animation-iteration-count": "infinite | <number [0,∞]>",
716-
"single-animation-trigger": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
717-
"single-animation-trigger-type": "once | repeat | alternate | state",
717+
"single-animation-trigger": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
718+
"single-animation-trigger-behavior": "once | repeat | alternate | state",
718719
"size-keyword": "auto | max-content | min-content | stretch",
719720
"smooth-command": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
720721
"source-size": "<media-condition> <source-size-value> | auto",

packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,17 @@
104104
"failing": []
105105
}
106106
},
107+
"animation-trigger-behavior": {
108+
"type": "added",
109+
"comment": "",
110+
"syntax-b": "",
111+
"syntax-a": "<single-animation-trigger-behavior>#",
112+
"syntax-m": "<single-animation-trigger-behavior>#",
113+
"tests": {
114+
"passing": [],
115+
"failing": []
116+
}
117+
},
107118
"animation-trigger-exit-range": {
108119
"type": "added",
109120
"comment": "",
@@ -181,17 +192,6 @@
181192
"failing": []
182193
}
183194
},
184-
"animation-trigger-type": {
185-
"type": "added",
186-
"comment": "",
187-
"syntax-b": "",
188-
"syntax-a": "<single-animation-trigger-type>#",
189-
"syntax-m": "<single-animation-trigger-type>#",
190-
"tests": {
191-
"passing": [],
192-
"failing": []
193-
}
194-
},
195195
"appearance": {
196196
"type": "modified",
197197
"comment": "",
@@ -4498,6 +4498,17 @@
44984498
"failing": []
44994499
}
45004500
},
4501+
"scroll-target-group": {
4502+
"type": "added",
4503+
"comment": "",
4504+
"syntax-b": "",
4505+
"syntax-a": "none | auto",
4506+
"syntax-m": "none | auto",
4507+
"tests": {
4508+
"passing": [],
4509+
"failing": []
4510+
}
4511+
},
45014512
"scroll-timeline": {
45024513
"type": "modified",
45034514
"comment": "",

packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3856,14 +3856,14 @@
38563856
"type": "added",
38573857
"comment": "",
38583858
"syntax-b": "",
3859-
"syntax-a": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
3860-
"syntax-m": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
3859+
"syntax-a": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
3860+
"syntax-m": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
38613861
"tests": {
38623862
"passing": [],
38633863
"failing": []
38643864
}
38653865
},
3866-
"single-animation-trigger-type": {
3866+
"single-animation-trigger-behavior": {
38673867
"type": "added",
38683868
"comment": "",
38693869
"syntax-b": "",

packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-properties.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"syntax-a": "<single-animation-trigger>#",
3030
"comment": ""
3131
},
32+
"animation-trigger-behavior": {
33+
"type": "added",
34+
"syntax-b": "",
35+
"syntax-a": "<single-animation-trigger-behavior>#",
36+
"comment": ""
37+
},
3238
"animation-trigger-exit-range": {
3339
"type": "added",
3440
"syntax-b": "",
@@ -71,12 +77,6 @@
7177
"syntax-a": "<single-animation-timeline>#",
7278
"comment": ""
7379
},
74-
"animation-trigger-type": {
75-
"type": "added",
76-
"syntax-b": "",
77-
"syntax-a": "<single-animation-trigger-type>#",
78-
"comment": ""
79-
},
8080
"appearance": {
8181
"type": "modified",
8282
"syntax-b": "none | auto | textfield | menulist-button | <compat-auto>",
@@ -1997,6 +1997,12 @@
19971997
"syntax-a": "auto | <length-percentage [0,∞]>",
19981998
"comment": ""
19991999
},
2000+
"scroll-target-group": {
2001+
"type": "added",
2002+
"syntax-b": "",
2003+
"syntax-a": "none | auto",
2004+
"comment": ""
2005+
},
20002006
"scroll-timeline": {
20012007
"type": "modified",
20022008
"syntax-b": "[ <'scroll-timeline-name'> || <'scroll-timeline-axis'> ]#",

packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,10 +1460,10 @@
14601460
"single-animation-trigger": {
14611461
"type": "added",
14621462
"syntax-b": "",
1463-
"syntax-a": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
1463+
"syntax-a": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
14641464
"comment": ""
14651465
},
1466-
"single-animation-trigger-type": {
1466+
"single-animation-trigger-behavior": {
14671467
"type": "added",
14681468
"syntax-b": "",
14691469
"syntax-a": "once | repeat | alternate | state",

packages/css-syntax-patches-for-csstree/raw-data/webref-properties.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@
7777
"animation-trigger": {
7878
"syntax": "<single-animation-trigger>#"
7979
},
80+
"animation-trigger-behavior": {
81+
"syntax": "<single-animation-trigger-behavior>#"
82+
},
8083
"animation-trigger-exit-range": {
8184
"syntax": "[ <'animation-trigger-exit-range-start'> <'animation-trigger-exit-range-end'>? ]#"
8285
},
@@ -98,9 +101,6 @@
98101
"animation-trigger-timeline": {
99102
"syntax": "<single-animation-timeline>#"
100103
},
101-
"animation-trigger-type": {
102-
"syntax": "<single-animation-trigger-type>#"
103-
},
104104
"appearance": {
105105
"syntax": "none | auto | base | <compat-auto> | <compat-special> | base"
106106
},
@@ -1997,6 +1997,9 @@
19971997
"-ms-scroll-snap-y": {
19981998
"syntax": "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>"
19991999
},
2000+
"scroll-target-group": {
2001+
"syntax": "none | auto"
2002+
},
20002003
"scroll-timeline": {
20012004
"syntax": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#"
20022005
},

packages/css-syntax-patches-for-csstree/raw-data/webref-types.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,9 +1482,9 @@
14821482
"syntax": "auto | none | <dashed-ident> | <scroll()> | <view()>"
14831483
},
14841484
"single-animation-trigger": {
1485-
"syntax": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]"
1485+
"syntax": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]"
14861486
},
1487-
"single-animation-trigger-type": {
1487+
"single-animation-trigger-behavior": {
14881488
"syntax": "once | repeat | alternate | state"
14891489
},
14901490
"single-transition": {

0 commit comments

Comments
 (0)