-
-
Notifications
You must be signed in to change notification settings - Fork 928
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
Rejected -webkit-background-clip with text value #7294
Comments
Apologies, I should clarify that the unprefixed property is not equivalent as |
Why aren't you using |
I am expecting stylelint to not transform correct to incorrect code silently, especially for css constructs and features that have essentially complete browser support. If it reports an error and refuses to fix the property I would consider that fine. Is this an unreasonable expectation? |
Hypothetically if we were targeting only Firefox 49–121, Edge 15–18 and Safari 14–17.2—which all support |
The rule is enabled by default in When it comes to the css, as you can see in the caniuse page, the Looking around in In Scanning postcss/autoprefixer/lib/hacks I found similar hacks for In #5312 |
@brunodccarvalho Thanks for the explanation. I understand your motivation well. But I think
Any thoughts? |
I think that's the right course of action. @brunodccarvalho were you using the standard config? |
That you present this as a serious argument demonstrates the project targets the idealized web rather than the de facto web, which I do not consider reasonable for a tool like this. I'll add my exceptions to |
@ybiquitous I think we should propose to add exceptions here. @brunodccarvalho thanks for the feedback but stylelint/stylelint is just not the right place for this change. |
Agree. Feel free to open a Pull Request.
Yes, we should not have added this exception. |
|
What minimal example or steps are needed to reproduce the bug?
What minimal configuration is needed to reproduce the bug?
How did you run Stylelint?
Which Stylelint-related dependencies are you using?
15.11.0
What did you expect to happen?
Since the rule does not delete the prefixed
text-fill-color
properties I expect no problems to be reported as-webkit-background-clip: text
also seems to have very widespread support.postcss/autoprefixer
has a 5 year old test to accept this here, seebackground-clip.css
What actually happened?
and it is autocorrectable, so it gets replaced with
background-clip: text
if--fix
is givenDo you have a proposal to fix the bug?
No response
The text was updated successfully, but these errors were encountered: