1 description('A unselected option was submitted as fallback. This behavior was removed by the change of webkit.org/b/35056.');
3 var parent = document.createElement('div');
4 document.body.appendChild(parent);
5 parent.innerHTML = '<form action="">'
6 + '<input type=hidden name="submitted" value="true">'
7 + '<select name="select">'
8 + '<option disabled>Disabled</option>'
12 if (window.layoutTestController)
13 layoutTestController.waitUntilDone();
14 var query = window.location.search;
15 if (query.indexOf('submitted=true') == -1) {
16 var select = document.getElementsByTagName('select')[0];
17 select.selectedIndex = 0;
18 document.forms[0].submit();
20 shouldBe('query.indexOf("select=Disabled")', '-1');
21 if (window.layoutTestController)
22 layoutTestController.notifyDone();