blob: 2aeaea4e1e44c7fe57c5ba012dbb4f12268cb999 (
plain)
1
2
3
4
5
6
7
8
9
|
<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if button has a custom error, it should not be affected by :valid
pseudo-class -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('b').setCustomValidity('foo'); document.documentElement.className='';">
<button class='invalid' id='b'></button>
</body>
</html>
|