Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <!-- Test: if select has a disabled fieldset ancestor, it is barred from
4 constraint validation and should not be affected by :-moz-ui-invalid
5 pseudo-class. -->
6 <link rel='stylesheet' type='text/css' href='style.css'>
7 <script>
8 function onloadHandler()
9 {
10 var e = document.getElementById('s');
11 e.setCustomValidity('foo');
12 var fieldsets = document.getElementsByTagName("fieldset");
13 fieldsets[1].disabled = true;
14 fieldsets[0].disabled = false;
15 document.documentElement.className='';
16 }
17 </script>
18 <body onload="onloadHandler();">
19 <fieldset disabled>
20 <fieldset>
21 <select class='notinvalid' id='s'></select>
22 </fieldset>
23 </fieldset>
24 </body>
25 </html>