Skip to content

Commit

Permalink
Update font-weight syntax for CSS Fonts 4 (#234)
Browse files Browse the repository at this point in the history
* Update font-weight syntax for CSS Fonts 4

* Simplify syntax
  • Loading branch information
wbamberg authored and Elchi3 committed May 30, 2018
1 parent f9a599a commit 70a6143
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -4305,7 +4305,7 @@
"status": "standard"
},
"font-weight": {
"syntax": "normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900",
"syntax": "<font-weight-absolute> | bolder | lighter",
"media": "visual",
"inherited": true,
"animationType": "fontWeight",
Expand Down
3 changes: 3 additions & 0 deletions css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@
"font-variant-css21": {
"syntax": "[ normal | small-caps ]"
},
"font-weight-absolute": {
"syntax": "normal | bold | <number>"
},
"frames-timing-function": {
"syntax": "frames(<integer>)"
},
Expand Down

0 comments on commit 70a6143

Please sign in to comment.