-
Notifications
You must be signed in to change notification settings - Fork 15
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
CSS3 and CSSOM #4
Comments
As in, it strips them out? |
Yes. The parser does not recognize them so it does not produce a node in the syntax tree. The information is lost before rewriting. |
This appears to be related to NV/CSSOM#16, which is open at time of this writing. |
I'm also having problem with css gradients being stripped out because of vendor prefixes/multiple definitions issue. |
The latest version of Mop has disabled CSS compression because of this issue. Are you using the latest version? |
I would assume so. I just installed juice yesterday. |
And Mop is still stripping out your CSS gradients? |
Yes, if I define two background properties, only the last one shows up. |
My mistake, I was looking at some local changes. I've pushed v0.12.4 to npm which doesn't compress CSS by default. Would you mind trying again to see if this fixes your problem? Many apologies! |
I just installed juice, which should have eventually pulled in your package and it still is ignoring multiple background properties. Only the last one shows up. |
What do you mean by "juice"? |
npm install juice its the package that depends on your package at least directly or indirectly. I'm using it to convert css to inline css. |
Both Mop and Juice depend on CSSOM, which is where the bug is. Mop (this project) is a different tool. You'll need to comment on this bug: NV/CSSOM#16 to make your problems known. |
|
Oh, I thought this fixed the compressing bug for CSSOM. On Fri, Feb 15, 2013 at 11:50 AM, Kris Kowal [email protected]:
Anthony Ettinger |
We have turned off CSS optimizations in Mop until such a time as CSSOM |
We're just not compressing CSS for the moment :) |
This can be closed with gh-19 |
CSSOM does not round-trip syntax it does not recognize, like gradients.
The text was updated successfully, but these errors were encountered: