w3c / w3c/css-validator

CSS checker enhancement request; output full details of each error’s location, including errors inside @imports

Open
#491 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
250
Forks
123
PR merge metrics
No merged PRs in 30d

Description

In the CSS checker error messages should also (i) include the line number within @imported files if their content is also being scanned, (ii) the filename of the file where the error is found, and (iii) the line number of the current @import within the main file, as is being done currently.

The filename should be omitted if this is the main file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CSS checker’s error-formatting and @import scanning entry points. Trace how errors from imported files currently retain the current @import line, then verify output includes the imported filename and its internal line number while omitting the filename for the main file.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.