summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/animated-textarea.html
blob: a23eed669c2e968ec66c38da700e2081e118f952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<!-- This tests that the anonymous descendants of the textarea do not lose
  their attachment to parent objects -->
<html class="test-wait">
<canvas>
<textarea>
</textarea>
<script>
const canvas = document.querySelector('canvas');
const animation = canvas.animate([
  {"listStylePosition":"outside"}, {"listStylePosition":"inside"}],
  {"duration":100,"delay":0});
animation.addEventListener('finish', () => {
  document.documentElement.className = '';
});
</script>
</canvas>