mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: Animation count accepts calc()</title>
|
||||
<link rel="author" name="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-values-3/#number-value">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-animations/#animation-iteration-count">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="target" style="animation-iteration-count: calc(1 + 3)">
|
||||
<script>
|
||||
test(function() {
|
||||
let target = document.getElementById("target");
|
||||
assert_equals(getComputedStyle(target).animationIterationCount, "4")
|
||||
}, "calc() should be accepted in animation-iteration-count.");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue