A Description of <mask> may be wrong #469
Unanswered
zhangzhuang15
asked this question in
Content
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Visit https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask, the first sentence is "The element defines an alpha mask for compositing the current object into the background. "
I don't agree with this point.
<mask>
seems to define a luminance alpha by default, and developer can change this by settingmask-type
alpha
. In luminance mask mode, there's no difference if yourpath
element followsfill="white"
orfill="black"
.Beta Was this translation helpful? Give feedback.
All reactions