add attribute selector test from sass issue tracker
This commit is contained in:
parent
1f672c4c49
commit
34fed92bdf
@ -823,6 +823,13 @@ test!(
|
|||||||
"[a=\"a\\\\66\"] {\n color: &;\n}\n",
|
"[a=\"a\\\\66\"] {\n color: &;\n}\n",
|
||||||
"[a=a\\66] {\n color: [a=a\\66];\n}\n"
|
"[a=a\\66] {\n color: [a=a\\66];\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
attribute_value_contains_escaped_slash_in_quotes,
|
||||||
|
r#"[data-key="\\"] {
|
||||||
|
color: &;
|
||||||
|
}"#,
|
||||||
|
"[data-key=\"\\\\\"] {\n color: [data-key=\"\\\\\"];\n}\n"
|
||||||
|
);
|
||||||
test!(
|
test!(
|
||||||
#[ignore = "we have to rewrite quoted attribute value parsing somewhat"]
|
#[ignore = "we have to rewrite quoted attribute value parsing somewhat"]
|
||||||
attribute_value_escape_ends_with_whitespace,
|
attribute_value_escape_ends_with_whitespace,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user