Skip to content

CSS URL Request Modifiers #3930

@dumbmoron

Description

@dumbmoron

Specification

https://drafts.csswg.org/css-values-5/#request-url-modifiers

Description

CSS URL request modifiers allow authors to control fetch behavior for resources loaded via the url() function by specifying cross-origin(), integrity(), and referrer-policy() modifiers after the URL string. For example: background-image: url("image.png" cross-origin(anonymous) referrer-policy(no-referrer)).

Documentation

https://drafts.csswg.org/css-values-5/#request-url-modifiers

Browser support

Safari/WebKit: Shipped (cross-origin and referrer-policy; integrity gated behind separate flag)
Chromium: Implementation in progress (by me) - https://chromestatus.com/feature/5111997147512832
Firefox: Not implemented

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature definitionCreating or defining new features or groups of features.feature entry requestA request for a new web platform feature entry

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions