feature-exists units-level-3

This commit is contained in:
ConnorSkees 2020-03-19 23:53:29 -04:00
parent 20f702b40b
commit 2db2ab10ca
2 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ pub(crate) fn register(f: &mut HashMap<String, Builtin>) {
"extend-selector-pseudoclass" => Ok(Value::False), "extend-selector-pseudoclass" => Ok(Value::False),
// Full support for unit arithmetic using units defined in the // Full support for unit arithmetic using units defined in the
// [Values and Units Level 3][] spec. // [Values and Units Level 3][] spec.
"units-level-3" => Ok(Value::False), "units-level-3" => Ok(Value::True),
// The Sass `@error` directive is supported. // The Sass `@error` directive is supported.
"at-error" => Ok(Value::True), "at-error" => Ok(Value::True),
// The "Custom Properties Level 1" spec is supported. This means // The "Custom Properties Level 1" spec is supported. This means

View File

@ -54,11 +54,11 @@ test!(
// "a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n", // "a {\n color: feature-exists(extend-selector-pseudoclass)\n}\n",
// "a {\n color: true;\n}\n" // "a {\n color: true;\n}\n"
// ); // );
// test!( test!(
// feature_exists_units_level_3, feature_exists_units_level_3,
// "a {\n color: feature-exists(units-level-3)\n}\n", "a {\n color: feature-exists(units-level-3)\n}\n",
// "a {\n color: true;\n}\n" "a {\n color: true;\n}\n"
// ); );
// test!( // test!(
// feature_exists_custom_property, // feature_exists_custom_property,
// "a {\n color: feature-exists(custom-property)\n}\n", // "a {\n color: feature-exists(custom-property)\n}\n",