4 <script src="resources/polyfill.js"></script>
9 <p>When the 'disabled' state of a select tag is changed, we have to invalidate distribution.</p>
12 <select id="select1"><option>Select 1</option></select>
13 <select id="select2"><option>Select 2</option></select>
17 <select id="select3" disabled><option>Select 3</option></select>
18 <select id="select4" disabled><option>Select 4</option></select>
22 if (window.testRunner)
23 testRunner.waitUntilDone();
25 new WebKitShadowRoot(host1).innerHTML = '<content select=":disabled"></content>';
26 new WebKitShadowRoot(host2).innerHTML = '<content select=":disabled"></content>';
28 setTimeout(function() {
29 select2.setAttribute('disabled', true);
30 select4.removeAttribute('disabled');
31 testRunner.notifyDone();