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

Brittle CSS rules #142

Open
korny opened this issue Jun 22, 2013 · 0 comments
Open

Brittle CSS rules #142

korny opened this issue Jun 22, 2013 · 0 comments
Assignees
Milestone

Comments

@korny
Copy link
Member

korny commented Jun 22, 2013

Color style rules can conflict, eg. when you have two kinds defining a .content sub-token. The issue appeared in the Lua scanner: #22 (comment)

To fix this, we would need to make the CSS selectors more strict (using the > operator, for example), but this has to be tested and supported by the CSS mini-interpreter in Encoders::HTML::CSS#get_style_for_css_classes.

@ghost ghost assigned korny Jun 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant