Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <!-- Test: if button has a custom error, it should not be affected by :valid
4 pseudo-class. -->
5 <link rel='stylesheet' type='text/css' href='style.css'>
6 <body onload="document.getElementById('b').setCustomValidity('foo'); document.documentElement.className='';">
7 <button class='notvalid' id='b'></button>
8 </body>
9 </html>