summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-logical/animations/padding-inline-interpolation.html
blob: 293493e3bc95e813ff198f904d06c72d4e833961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<meta charset="UTF-8">
<title>padding-inline interpolation</title>
<link rel="help" href="https://drafts.csswg.org/css-logical/#propdef-padding-inline">
<meta name="assert" content="padding-inline supports animation">

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>

<body>
<script>
test_interpolation({
  property: 'padding-inline',
  from: '10px',
  to: '20px',
}, [
  {at: -0.3, expect: '7px'},
  {at: 0, expect: '10px'},
  {at: 0.3, expect: '13px'},
  {at: 0.6, expect: '16px'},
  {at: 1, expect: '20px'},
  {at: 1.5, expect: '25px'},
]);
</script>
</body>