Skip to content

Commit

Permalink
fix(css): replace value 'center' with '0% 0%' for mask-position inita…
Browse files Browse the repository at this point in the history
…l 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" -->
  • Loading branch information
kimgaeun77 authored Feb 22, 2024
1 parent af8a84a commit 2987ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -6874,7 +6874,7 @@
"groups": [
"CSS Masking"
],
"initial": "center",
"initial": "0% 0%",
"appliesto": "allElementsSVGContainerElements",
"computed": "consistsOfTwoKeywordsForOriginAndOffsets",
"order": "perGrammar",
Expand Down

0 comments on commit 2987ea9

Please sign in to comment.