Skip to content

[QUESTION] What version of nu checker is used? #41

@SilentImp

Description

@SilentImp

Question

Hi, I added a rule to check both HTML and CSS.

  html_validator:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Checks HTML5
      uses: Cyb3r-Jak3/html5validator-action@v7.2.0
      with:
        root: ./
        css: true
        format: xml

It is checking CSS file:

body > p:last-of-type {
  color: red;
}

figure > blockquote {
  margin-inline-start: 0;
}

and generating error:

<message>CSS: <code xmlns="http://www.w3.org/1999/xhtml">margin-inline-start</code>: Property <code xmlns="http://www.w3.org/1999/xhtml">margin-inline-start</code> doesn't exist.</message>

At the same time, https://validator.w3.org/nu/#textarea show it as valid CSS (and it is valid).
I was thinking: maybe it's because the version of a validator is somehow outdated?

Regards. Anton Nemtsev.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions