diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html index b4de63045f3..0bff879856c 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#conditional-rules" /> +<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#conditional-rules"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> @@ -35,8 +35,9 @@ test(function() { }, 'CSS.supports(conditionText) should ignore registered syntax'); test(function() { - assert_false(CSS.supports('--length', 'red')); + assert_true(CSS.supports('--length', 'red')); assert_true(CSS.supports('--length', '10px')); -}, 'CSS.supports(property, value) should parse against registered syntax'); + assert_true(CSS.supports('--length', ' anything, really')); +}, 'CSS.supports(property, value) should ignore registered syntax'); </script> |