Add more feature-exists tests for unimplemented features
This commit is contained in:
parent
ed316e6eb7
commit
f0185855c0
@ -33,6 +33,32 @@ test!(
|
||||
"a {\n color: feature-exists(at-error)\n}\n",
|
||||
"a {\n color: true;\n}\n"
|
||||
);
|
||||
// Uncomment as more features are added
|
||||
// test!(
|
||||
// feature_exists_global_variable_shadowing,
|
||||
// "a {\n color: feature-exists(global-variable-shadowing)\n}\n",
|
||||
// "a {\n color: true;\n}\n"
|
||||
// );
|
||||
// test!(
|
||||
// feature_exists_extend_selector_pseudoclass,
|
||||
// "a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n",
|
||||
// "a {\n color: true;\n}\n"
|
||||
// );
|
||||
// test!(
|
||||
// feature_exists_units_level_3,
|
||||
// "a {\n color: feature-exists(units-level-3)\n}\n",
|
||||
// "a {\n color: true;\n}\n"
|
||||
// );
|
||||
// test!(
|
||||
// feature_exists_custom_property,
|
||||
// "a {\n color: feature-exists(custom-property)\n}\n",
|
||||
// "a {\n color: true;\n}\n"
|
||||
// );
|
||||
test!(
|
||||
feature_exists_nonsense,
|
||||
"a {\n color: feature-exists(foo)\n}\n",
|
||||
"a {\n color: false;\n}\n"
|
||||
);
|
||||
test!(
|
||||
feature_exists_at_error_named_arg,
|
||||
"a {\n color: feature-exists($feature: at-error)\n}\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user