mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 3f3849c5d05f9350fad0b06d3bb3ae30d7e18d14
This commit is contained in:
parent
9a7e2663e8
commit
f767403c00
310 changed files with 8134 additions and 895 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue