diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2019-07-24 10:23:41 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2019-07-24 14:08:20 +0000 |
commit | f767403c00267074a49f87746ef0f8916690a140 (patch) | |
tree | 7cdf56cee9e102e9f5b82f420d1447d69f2bdb03 /tests/wpt/web-platform-tests/css/css-properties-values-api/conditional-rules.html | |
parent | 9a7e2663e898575b7bef2e68b7cf27bfb3814434 (diff) | |
download | servo-f767403c00267074a49f87746ef0f8916690a140.tar.gz servo-f767403c00267074a49f87746ef0f8916690a140.zip |
Update web-platform-tests to revision 3f3849c5d05f9350fad0b06d3bb3ae30d7e18d14
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> |