Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Animating padding on a checkbox input should not crash</title>
<style>
@keyframes anim {
to { padding-top: 50px; }
}
input { animation: anim 1s; }
</style>
<input type="checkbox" id="target"></input>
<script>
getComputedStyle(target);
</script>