-
Notifications
You must be signed in to change notification settings - Fork 98
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
CSSStyleSheet.toString() #10
Comments
Ah, bummer... Even without indentation, it should be feasible. I believe my usecase (parse/modify/serialize) is common enough to justify having this. At the moment I can't even inspect it:
...I get
|
I can't reproduce |
Ah, sorry. Using it in node.js (weird, should behave like Chrome - but i don't know which V8 versions they're running). |
I see. I'll get reed of |
When you fix it, would this output the serialized CSS tree – or just 'don't break'? By the way, I got the |
CSSStyleSheet.toString has been landed. Try it on demo page. Node.js bug should be fixed as well. 0eb3d4e. No idea what was causing it. |
Wow, excellent, thanks! I'll let you know how it goes. |
Ability to serialize CSSStyleSheet object into CSS string.
It might need a few options, such as
indent
orpropertiesSeparator
. Not sure about it yet.The text was updated successfully, but these errors were encountered: