test for interpolation in attribute selectors

This commit is contained in:
ConnorSkees 2020-02-24 15:10:30 -05:00
parent 4c32d97971
commit 011577c9f6

View File

@ -34,6 +34,11 @@ test!(
selector_attribute_any_lower_case_insensitive,
"[attr=val i] {\n color: red;\n}\n"
);
test!(
selector_attribute_interpolate,
"[a#{tt}r=v#{a}l] {\n color: red;\n}\n",
"[attr=val] {\n color: red;\n}\n"
);
test!(
selector_attribute_any_upper_case_insensitive,
"[attr=val I] {\n color: red;\n}\n"