Skip to content

Commit 2987ea9

Browse files
authored
fix(css): replace value 'center' with '0% 0%' for mask-position inital value (#714)
…l value <!-- 🙌 Thanks for contributing! Adding details below will help us to merge your PR faster. --> <!-- Commits need to adhere to conventional commits and only `fix:` and `feat:` commits are added to the release notes. --> <!-- https://www.conventionalcommits.org/en/v1.0.0/#examples --> ### Description The page says that the mask-position Initial value is center, but when I tested it in Chrome, Firefox, etc., it was not center. So I changed the initial value of the mask-position property from center to 0% 0%. ### Motivation It will be helpful for people working with CSS by referring to the mdn document. ### Additional details #713 https://developer.mozilla.org/en-US/docs/Web/CSS/mask-position ### Related issues and pull requests <!-- 🔨 If this fully resolves a GitHub issue, use "Fixes #123" --> <!-- 👉 Highlight related pull requests using "Relates to #123" --> <!-- ❗ If another pull request should be merged first, use "**Depends on:** #123" -->
1 parent af8a84a commit 2987ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6874,7 +6874,7 @@
68746874
"groups": [
68756875
"CSS Masking"
68766876
],
6877-
"initial": "center",
6877+
"initial": "0% 0%",
68786878
"appliesto": "allElementsSVGContainerElements",
68796879
"computed": "consistsOfTwoKeywordsForOriginAndOffsets",
68806880
"order": "perGrammar",

0 commit comments

Comments
 (0)