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

Invalid selector parsing #76

Open
domenic opened this issue Sep 11, 2015 · 0 comments
Open

Invalid selector parsing #76

domenic opened this issue Sep 11, 2015 · 0 comments

Comments

@domenic
Copy link
Collaborator

domenic commented Sep 11, 2015

This CSS:

.block-title .block-title-inner a:visited { color: #48484d; } // MAIN MENU - (used to keep mobile menu options hidden and keep weather/search and menu on one line) // #tncms-region-nav-main-nav-right-nav { float:left; } #tncms-region-main-nav-right-region { float:right; }

causes cssom to parse the selectorText

//MAIN MENU - (used to keep mobile menu options hidden and keep weather/search and menu on one line) // #tncms-region-nav-main-nav-right-nav

where it should probably just throw out that entire rule. That is what Chrome does, at least.

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