Skip to content

CSS path() gives error when used for clip-path #472

Description

@samhed

The following correct CSS was taken from MDN:s example:

#mydiv {
    clip-path: path('M 0 200 L 0,75 A 5,5 0,0,1 150,75 L 200 200 z');
}

https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path

The validator incorrectly gives this error:

Error: clip-path: path('M 0 200 L 0,75 A 5,5 0,0,1 150,75 L 200 200 z') is not a clip-path value.

At line 2, column 68

75 L 200 200 z');↩}↩</style> 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions