Skip to content

Conversation

@tanhauhau
Copy link
Member

@tanhauhau tanhauhau commented Oct 28, 2019

Fix #3801
If the value is empty, will cause compile error down the road.
Remove it upfront, will be able to treat it as empty rule, if there's no other declaration for the rule.

@Rich-Harris
Copy link
Member

I merged this but then reverted it — I think we should probably be throwing a deliberate error here

@tanhauhau
Copy link
Member Author

But it's a valid syntax to the css-tree/parser?

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.

Confusing error message "TypeError: Cannot read property 'start' of undefined" with invalid css

2 participants