forked from csstools/postcss-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.expect.css
More file actions
43 lines (35 loc) · 1.11 KB
/
Copy pathbasic.expect.css
File metadata and controls
43 lines (35 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.foo {
background: url("foo.png#modified");
background-image: rewrite-url('ignore.png');
}
@font-face {
font-family: "Trickster";
src:
local("Trickster"),
url("trickster-COLRv1.otf#modified") format("opentype") tech(color-COLRv1),
url("trickster-outline.otf#modified") format("opentype"),
url("trickster-outline.woff#modified") format("woff");
}
.ignore {
background: url('foo.png');
}
.ignore {
background: rewrite-url(oops 'foo.png');
}
@foo url("foo.png#modified");
.url-modifiers {
/* No overrides, url modifiers should be preserved */
background: url("foo.png#modified-a" --url-modifier-a crossorigin(use-credentials) referrerpolicy(no-referrer));
}
.url-modifiers {
/* Empty list, all url modifiers should be removed */
background: url("foo.png#modified-b");
}
.url-modifiers {
/* A single explicit item, only that item should be present */
background: url("foo.png#modified-c" crossorigin(anonymous));
}
.url-modifiers {
/* A filter on the original values, only a single item should be removed */
background: url("foo.png#modified-d" crossorigin(use-credentials) referrerpolicy(no-referrer));
}