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

Do not break on CSS4 parent selector #1523

Closed
skerit opened this issue Aug 31, 2013 · 2 comments
Closed

Do not break on CSS4 parent selector #1523

skerit opened this issue Aug 31, 2013 · 2 comments

Comments

@skerit
Copy link

skerit commented Aug 31, 2013

The current CSS4 draft allows us to write selectors like this:

th! [data-sort-active=true] {
    background-color: #f1f1f1;
}

There are polyfills available for browsers that don't support this yet. (which is every single one of them, I guess)

However: LESS won't compile this. It throws an 'Unrecognised input' error.
Couldn't this just be ignored?

@lukeapage
Copy link
Member

In the past we haven't supported css rules until they are implemented in a browser. This stops us implementing stuff that is then changed.

How is it polyfilled?

@seven-phases-max
Copy link
Member

Closing as duplicate of #1292.

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

3 participants