-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error Unknown property 'mask-type' found react/no-unknown-property #3466
Comments
Can you share the jsx for this? I see I do see gregberge/svgr#336 which suggests it might apply to |
Just chiming in- saw this error pop up on some inline SVG like so: <mask
mask-type="alpha"
maskUnits="userSpaceOnUse"
x="100"
y="150"
width="100"
height="150"
>
<path d="..." />
</mask> Note, changing the property to The draft spec defines it as applying to mask elements and, notably, as a "presentation attribute", which, from what I can tell in the SVG 1.1 spec, should be assignable as an inline attribute.
|
That "corresponding" stuff is very, very confusing. It'd be great to get confirmation from someone who works on the SVG specs. |
I filed an issue with W3C to try and get some clarification: w3c/fxtf-drafts#480. Let me know if I missed something! |
The property in question is on svg element, so may be add it to allowed list?
The text was updated successfully, but these errors were encountered: