Skip to content

Property clip-path:polygon() with reference box causes warning #471

@atarax42

Description

@atarax42

When validating CSS that uses the clip-path:polygon() property together with a value for the reference box like margin-box, border-box, padding-box or content-box as described by MDN, it passes the validator at https://jigsaw.w3.org/css-validator/ but yields a warning, stating:

"Too many values or values not identified." (translated from German message)

Full example: clip-path: margin-box polygon(20% 0%, 100% 50%, 80% 100%, 0% 50%);

I think, this property should not yield any warning, or is there a reason for this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions