gecko-dev/layout/style/crashtests/1403028.html

10 строки
214 B
HTML

<style>:invalid { color: red; }</style>
<form id="theForm"></form>
<button id="button" form="theForm">
<script>
window.onload = function() {
button.setCustomValidity("foo");
document.body.remove();
}
</script>