We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In https://drafts.fxtf.org/filter-effects/#FilterProperty, it is not clear what should happen if an invalid filter is applied to an element.
The browsers disagree in displaying this test case:
<style> svg { border: 1px red solid; width: 400px; height: 300px; } .box { width: 200px; height: 200px; background-color: green; margin: 20px; } .filtered-1 { filter: drop-shadow(10px 10px -4px #4444dd); } .filtered-2 { filter: url(#shadow); } </style> <body> <p>A div element with invalid CSS filter:</p> <div class="box filtered-1"></div> <p>A div element with invalid referenced SVG filter:</p> <div class="box filtered-2"></div> <p>A rect element with invalid SVG filter:</p> <svg> <filter id="shadow"> <feDropShadow dx="10" dy="10" stdDeviation="-4" flood-color="#4444dd" /> </filter> <rect width="200" height="200" style="fill:green; filter:url(#shadow);" /> </svg> </body>
The text was updated successfully, but these errors were encountered:
@annevk pointed out #237 (comment) seems to discuss a subset of this issue.
Sorry, something went wrong.
No branches or pull requests
In https://drafts.fxtf.org/filter-effects/#FilterProperty, it is not clear what should happen if an invalid filter is applied to an element.
The browsers disagree in displaying this test case:
The text was updated successfully, but these errors were encountered: