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

Normalise CSS parse errors #302

Merged
merged 5 commits into from
Feb 27, 2017
Merged

Normalise CSS parse errors #302

merged 5 commits into from
Feb 27, 2017

Conversation

Rich-Harris
Copy link
Member

A few tweaks to how CSS is handled — the AST is generated at parse time (necessary if we're to do any validation on it) and tidied up and turned into a POJO, because that's slightly easier to work with than the native css-tree format. Any errors that happen at parse time are normalised so that they get the same code frame etc as syntax errors elsewhere

@Rich-Harris Rich-Harris merged commit ce1916f into master Feb 27, 2017
@Rich-Harris Rich-Harris deleted the css-errors branch February 27, 2017 22:02
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

Successfully merging this pull request may close these issues.

1 participant