explicitly test for urls beginning with single forward slash inside url
This commit is contained in:
parent
3fca50c305
commit
63bb17fe09
@ -122,6 +122,11 @@ test!(
|
|||||||
"a {\n color:url(;);\n}\n",
|
"a {\n color:url(;);\n}\n",
|
||||||
"a {\n color: url(;);\n}\n"
|
"a {\n color: url(;);\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
begins_with_single_forward_slash,
|
||||||
|
"a {\n color: url(/rust-logo.png);\n}\n",
|
||||||
|
"a {\n color: url(/rust-logo.png);\n}\n"
|
||||||
|
);
|
||||||
test!(
|
test!(
|
||||||
url_uppercase,
|
url_uppercase,
|
||||||
"a {\n color: URL(http://foo);\n}\n",
|
"a {\n color: URL(http://foo);\n}\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user