-
Notifications
You must be signed in to change notification settings - Fork 140
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
CSS editor does not support webkit filter/filter #190
Comments
@jwang1919 so, I have learned some things:
With that in mind, do you think Popcode should support it? |
Yes because Cloud9 supports use of the Ultimately if we're going to transition students from Popcode to Cloud9, any CSS valid in Cloud9 should be valid in Popcode. My thought is that (in our past experiences) some students like to prototype their code in JSBin before deploying to Cloud9. If we invalidate the Also |
@jwang1919 But Cloud9 isn’t a learning tool—it’s just a coding environment. it also “supports” CSS properties like |
Actually, I stand corrected that Cloud9 treats My point remains, though, that depending on what laptop they use that day, students may still find that |
OK, giving it some more thought—the point of Popcode is to notify students of mistakes in their code. Using |
@outoftime The point about the outdated Chrome versions does make sense. I would still argue in favor of Also forgot to reply about not supported in IE. I don't think that'll be an issue, no one uses IE except corporate businesses/government with computers running XP. Maybe we can reach a middle ground and add a warning saying something like "The CSS property 'filter' is an experimental property that might not work in some browsers", with a link to the caniuse.com of that property. I also thought of a over engineered example where we can sniff the browser and run CSS validations based on what that browser can support (thinking like how Modernizr.js does it). |
Or we can figure this out democratically with a vote among contributors as well as from ScriptEd volunteers. |
Just to update since we moved back from Trello—the issue is band-aided, but ultimately we need to fix |
Sounds fun. What about the alternative of using another CSS linter? |
@jwang1919 we would need to get rid of PrettyCSS entirely, and at this point I don’t know of another CSS linter that validates not just properties but values with respect to properties (e.g. it will tell you that |
Already resolved this ticket! See PR #215 |
Popcode reads -webkit-filter and filter as invalid properties.
The text was updated successfully, but these errors were encountered: