Skip to content

Fix declaration-property-value-no-unknown false positives for math of font-size #8492

@otomad

Description

@otomad

What minimal example or steps are needed to reproduce the bug?

math {
	font: math math;
	font-size: math;
}

What minimal configuration is needed to reproduce the bug?

{
    "declaration-property-value-no-unknown": true
}

How did you run Stylelint?

Demo

Which Stylelint-related dependencies are you using?

{
    "stylelint": "16.16.0"
}

What did you expect to happen?

No problems to be reported.

What actually happened?

The following problems were reported:

test.css
2:8-12    ✖  Unexpected unknown value "math" for property "font" (declaration-property-value-no-unknown)
3:13-17   ✖  Unexpected unknown value "math" for property "font-size" (declaration-property-value-no-unknown)

Do you have a proposal to fix the bug?

This issue is used to split pr #8489.

Related: #8436.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: wipis being worked on by someone

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions