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

CSS syntax errors only show on last character #931

Closed
Naatan opened this Issue Dec 4, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@Naatan
Member

Naatan commented Dec 4, 2015

Eg.

foo { bar: "foobar" }

The "r" in "bar" will be marked, whereas it should be the whole world.

@Naatan Naatan added the Type: Bug label Dec 4, 2015

@Naatan Naatan modified the milestones: 9.3.2, 9.3.3 Dec 4, 2015

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jan 25, 2016

This is how the Mozilla CSS reporter reports the error. Here's the Python representation:

entry: {u'columnEnd': 9, u'severity': 1, u'columnStart': 8, u'lineEnd': 1, u'lineStart': 1, u'description': u"Unknown property 'bar'. "}

mitchell-as added a commit that referenced this issue Jan 26, 2016

fix: lint: Mark whole words in CSS lint warnings - fixes #931
Mozilla's CSS linter only marks the last character of words in its warnings.

rn=

(integrated from master branch change 9.2.1-803-gfa50d5b by Mitchell <mitchellb@activestate.com>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment