Nikita Vasilyev
Nikita Vasilyev
Fixed in e7ede8f7371b764e9eadbebc9205c2e0a6bc0bc0. Thanks for bug report! > Test doesn't fail, but is not even executed? Strange. Seems like a QUnit bug. > The following snippet (nothing really fancy) causes...
CSSOM (the library) doesn't parse values. To be frank, I'm not planning to parse values any time soon.
I fully understand your problem. I'm rewriting the parser in [SAC](http://www.w3.org/Style/CSS/SAC/Overview.en.html)-style. It will allow me to parse CSS into different object models, not just CSSOM. Like so: body { background-image:...
I don't think I'll fix it soon. If you want it ASAP you could override [CSSStyleDeclaration.prototype.setProperty](https://github.com/NV/CSSOM/blob/gh-pages/lib/CSSStyleDeclaration.js#L40).
@papandreou ``` img { border: none; border: 1px solid red; } ``` serializes to ``` img { border: none; } img { border: 1px solid red; } ``` The downside...
No, I still haven’t released it.
It would be nice to have. Most importantly, to allow strings like `"\""` and `'\''`.
I’ve implemented the only case that I’ve found most significant, e.g. `"\""` and `'\''`. I’m not implementing any other cases for now.
I have a not yet released fork of CSSOM that does it like this: ``` javascript { cssRules: [ { selectorText: ".icon", properties: [ { name: "background-image", value: "url(./arrow.png)", important:...
Yes, it will be configurable.