-
Notifications
You must be signed in to change notification settings - Fork 63
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
HTTP urls break build #26
Comments
There is no support. |
Hi! Thank you for your quick response. I don't need cssgrace to resolve background images over HTTP. I just need that the build won't break if I have these urls in my stylesheet. Looking forward to the next version. |
Hi! How is work on the next version going? I just started a fork to do 2 things:
I need to disable the image handling in my own project. When I'm done, would you like me to submit a pull request, or are you already working on this? |
I split all the tasks out in my fork at https://github.com/zenbrent/cssgrace I also made it so it doesn't process images that aren't referenced with image-width or image-height, so if I'm using an image that is served at a different path than it is on my hard drive, there isn't an error. (e.g. I reference url(/images/logo.png), but that's obv. not how it's set up on my computer.) I agree with #10 that some of these features would be best served as a separate project. For my job, I don't want cssgrace to handle my images, but I do want it to make my css work with older browsers! For my personal projects I would love the image handling, but I don't care about very old browsers. As always, thank you for all your work. This is a very useful and well-done project. :) |
Thank you for your work! Yeah, the next version I will "to split out each rule into its own .js file" and add browser config. Maybe like this: input: @browser ie>=8;
.foo {
display: inline-block;
} output: .foo {
display: inline-block;
} When you need to be compatible with the old browser, the output of the corresponding syntax sugar. input: @browser ie>=6;
.foo {
display: inline-block;
} output: .foo {
display: inline-block;
*display: inline;
*zoom: 1;
} |
Ok, awesome! Would you like me to submit my changes as a pull request? |
I'm also waiting for this issue's fixed anxiously |
@miniflycn I'm sorry, I'll fix it soon. |
@zenbrent No problem! I am looking forward your pull request. |
Hi @yisibl any updates on this? |
url绝对路径的问题,依旧没有解决啊 |
Use the following test.css to reproduce:
Running results in:
Using cssgrace 2.0.2 on Windows 7
The text was updated successfully, but these errors were encountered: