Skip to content

Commit

Permalink
feat(css): Add missing syntax <coord-box> <offset-path> for `offs…
Browse files Browse the repository at this point in the history
…et-path` property (#790)

feat(css): add missing syntax for `offset-path` property
  • Loading branch information
skyclouds2001 authored Nov 22, 2024
1 parent 350f183 commit 8438947
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@
"contrast()": {
"syntax": "contrast( [ <number-percentage> ] )"
},
"coord-box": {
"syntax": "<paint-box> | view-box"
},
"cos()": {
"syntax": "cos( <calc-sum> )"
},
Expand Down Expand Up @@ -569,6 +572,9 @@
"nth": {
"syntax": "<an-plus-b> | even | odd"
},
"offset-path": {
"syntax": "<ray()> | <url> | <basic-shape>"
},
"opacity()": {
"syntax": "opacity( [ <number-percentage> ] )"
},
Expand Down Expand Up @@ -596,6 +602,9 @@
"page-size": {
"syntax": "A5 | A4 | A3 | B5 | B4 | JIS-B5 | JIS-B4 | letter | legal | ledger"
},
"paint-box": {
"syntax": "<visual-box> | fill-box | stroke-box"
},
"path()": {
"syntax": "path( [ <fill-rule>, ]? <string> )"
},
Expand Down

0 comments on commit 8438947

Please sign in to comment.