Skip to content

Commit

Permalink
feat(css): Update <alpha-value> usage (#784)
Browse files Browse the repository at this point in the history
* `<alpha-value>` rename to `<opacity-value>`

* Update css/properties.json
  • Loading branch information
skyclouds2001 authored Dec 2, 2024
1 parent 42dcf9e commit 87dc78b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -7584,7 +7584,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset-rotate"
},
"opacity": {
"syntax": "<alpha-value>",
"syntax": "<opacity-value>",
"media": "visual",
"inherited": false,
"animationType": "byComputedValueType",
Expand Down Expand Up @@ -9404,7 +9404,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-timeline-name"
},
"shape-image-threshold": {
"syntax": "<alpha-value>",
"syntax": "<opacity-value>",
"media": "visual",
"inherited": false,
"animationType": "number",
Expand Down
3 changes: 3 additions & 0 deletions css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,9 @@
"opacity()": {
"syntax": "opacity( [ <number-percentage> ] )"
},
"opacity-value": {
"syntax": "<number> | <percentage>"
},
"overflow-position": {
"syntax": "unsafe | safe"
},
Expand Down
2 changes: 1 addition & 1 deletion css/syntaxes.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Or, syntaxes might reference other syntaxes that are also defined in syntaxes.js
"syntax": "<length> | <percentage>"
},
"shape-radius": {
"syntax": "<length-percentage> | closest-side | farthest-side"
"syntax": "<length-percentage> | closest-side | farthest-side"
},
```

Expand Down

0 comments on commit 87dc78b

Please sign in to comment.