w3c / w3c/css-validator

issue with test testsuite/bugs/4469.css

Open
#487 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

There is an issue with the autotest or with css-validator servlet.

They are failing with testsuite/bugs/4469.css

<style type="text/css">

body
{
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

</style>

The expected result is 2 errors.
However the testsuite doesn't query the servlet properly.
Actually, so that the servlet returns 2 errors, one has to set the "type" to CSS. If the "type" value is automatic, it will tell that the code is valid.

If it is tested through the jar, then it really reports 2 errors.

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 with testsuite/bugs/4469.css and the autotest path that queries the CSS-validator servlet. Compare the servlet request with the jar behavior, especially the automatic versus CSS type value. Done means the test reports the expected two errors through the servlet as well as through the jar.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, java
Domain
backend, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.