summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-animate-002.html
blob: 0ed8dbf05e4a9a26ae584b7ccb020cdcd78427fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<meta charset=utf-8>
<title>CSS Test: A Web Animations only apply to restricted properties on ::marker pseudo-elements</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
<link rel="match" href="marker-animate-002-ref.html">
<ul>
  <li>Item</li>
</ul>
<script>
document.querySelector('li').animate({
  opacity: [0.1, 0.1],
  color: ['green', 'green']
}, {
  pseudoElement: '::marker',
  duration: Infinity
});
</script>