Skip to content
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

Add support for /deep/ combinator #209

Closed
antonmoiseev opened this issue Sep 10, 2014 · 4 comments
Closed

Add support for /deep/ combinator #209

antonmoiseev opened this issue Sep 10, 2014 · 4 comments

Comments

@antonmoiseev
Copy link

Right now csso completes with exception trying to read a block like this:

* /deep/ .icon-star-empty:before {
  content: "\e60e";
}

Error:

/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:399
        throw new Error('Please check the validity of the CSS block starting f
              ^
Error: Please check the validity of the CSS block starting from the line #113
    at throwError (/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:399:15)
    at checkStylesheet (/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:1921:22)
    at Object.CSSPRules.stylesheet (/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:365:40)
    at _getAST (/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:409:38)
    at exports.srcToCSSP (/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:2287:16)
    at Object.exports.srcToCSSP (/usr/local/lib/node_modules/csso/lib/gonzales.cssp.node.js:2292:16)
    at exports.parse (/usr/local/lib/node_modules/csso/lib/cssoapi.js:7:21)
    at Object.exports.justDoIt (/usr/local/lib/node_modules/csso/lib/cssoapi.js:21:41)
    at Object.<anonymous> (/usr/local/lib/node_modules/csso/lib/csso.js:35:45)
    at Module._compile (module.js:456:26)
@spalger
Copy link

spalger commented Feb 1, 2015

👍

1 similar comment
@JosefJezek
Copy link

👍

@robdodson
Copy link

👍 We're using csso in the Polymer yeoman generator so I think I may have to remove it if I can't get this to work :(

@yadomi
Copy link

yadomi commented May 20, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants