Skip to content

Commit 1e013f3

Browse files
authored
feat(css): Update syntax for cursor (#1009)
feat(css): Update syntax for `cursor` property
1 parent 09d293f commit 1e013f3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

css/properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4557,7 +4557,7 @@
45574557
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/counter-set"
45584558
},
45594559
"cursor": {
4560-
"syntax": "[ [ <url> [ <x> <y> ]? , ]* [ 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 ] ]",
4560+
"syntax": "[ [ <url> [ <x> <y> ]? , ]* <cursor-predefined> ]",
45614561
"media": [
45624562
"visual",
45634563
"interactive"

css/syntaxes.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@
278278
"cubic-bezier-easing-function": {
279279
"syntax": "ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>"
280280
},
281+
"cursor-predefined": {
282+
"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"
283+
},
281284
"custom-color-space": {
282285
"syntax": "<dashed-ident>"
283286
},

0 commit comments

Comments
 (0)