Skip to content

Custom protocol reported as invalid #466

@hubertgajewski

Description

@hubertgajewski

Originally reported to HTML validator validator/validator#1949.

Steps to reproduce:

  • Validate this code:
    .foo { background: url("foo://example.com/image.svg"); }

Result:
Validation failed (Value Error : background url("foo://example.com/image.svg") is an incorrect URL url("foo://example.com/image.svg")

Expected:
Validation passed.

I did not find in HTML/CSS specification any rule which suggests that I can't use custom protocol.

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