Skip to content

make url() css properties relative to the stylesheet #2

@christiaan

Description

@christiaan

If a stylesheet comes from a different location as the html file that is including it the urls to images are fetched relative to the stylesheet.

As the test shows url("someimage.jpg"); should be replaced with url("testfiles/someimage.jpg"); but only if it is a relative url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions