Skip to content

Commit

Permalink
Patch background-clip definition (fixes #190)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Aug 6, 2022
1 parent 746d860 commit 3d477e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
- Bumped `mdn-data` to `2.0.28`
- Added support for CSS wide keywords `revert` and `revert-layer`
- Dropped support for `expression()` the same way as CSS wide keywords
- Patched `background-clip` definition to match [Backgrounds and Borders 4](https://drafts.csswg.org/css-backgrounds-4/#background-clip) (#190)
- Value definition syntax:
- Added support for stacked multipliers `+#` and `#?` according to spec (#199)
- Added parsing of a dimension in range definition notations, however, a validation for such ranges is not supported yet (#192)
Expand Down
11 changes: 11 additions & 0 deletions data/patch.json
Expand Up @@ -150,6 +150,13 @@
],
"syntax": "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"
},
"background-clip": {
"comment": "used <bg-clip> from CSS Backgrounds and Borders 4 since it adds new values",
"references": [
"https://github.com/csstree/csstree/issues/190"
],
"syntax": "<bg-clip>#"
},
"baseline-shift": {
"comment": "added SVG property",
"references": [
Expand Down Expand Up @@ -582,6 +589,10 @@
"attr-fallback": {
"syntax": "<any-value>"
},
"bg-clip": {
"comment": "missed, https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip",
"syntax": "<box> | border | text"
},
"border-radius": {
"comment": "missed, https://drafts.csswg.org/css-backgrounds-3/#the-border-radius",
"syntax": "<length-percentage>{1,2}"
Expand Down

0 comments on commit 3d477e7

Please sign in to comment.