Skip to content

Commit 545c9ba

Browse files
authored
css-syntax-patches-for-csstree: fix display (#1598)
1 parent 066cc0a commit 545c9ba

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

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

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

3+
### Unreleased (patch)
4+
5+
- Fix `display: -webkit-box`
6+
37
### 1.0.10
48

59
_April 19, 2025_

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
"cursor": "[ [ <url> | <url-set()> ] [ <x> <y> ]? ]#? [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | grab | grabbing | 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 | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ]",
217217
"cx": "<length-percentage>",
218218
"cy": "<length-percentage>",
219-
"display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
219+
"display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
220220
"dominant-baseline": "auto | text-bottom | text-top | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge",
221221
"dynamic-range-limit": "standard | no-limit | constrained-high | <dynamic-range-limit-mix()>",
222222
"fill-break": "bounding-box | slice | clone",

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,9 +2368,13 @@
23682368
"comment": "",
23692369
"syntax-b": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <-non-standard-display>",
23702370
"syntax-a": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
2371-
"syntax-m": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
2371+
"syntax-m": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
23722372
"tests": {
2373-
"passing": [],
2373+
"passing": [
2374+
{
2375+
"value": "-webkit-box"
2376+
}
2377+
],
23742378
"failing": []
23752379
}
23762380
},

0 commit comments

Comments
 (0)