option-disabled-manual.html (680B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>HTMLOptionElement Test: disabled</title> 4 <meta name="flags" content="interact"> 5 <link rel="author" title="Intel" href="http://www.intel.com/"> 6 7 <div> 8 <select> 9 <option id="testOption1" text="Option1" >Option1</option> 10 <option id="testOption2" disabled >Option2</option> 11 <option id="testOption3" >Option3</option> 12 </select> 13 </div> 14 15 <h2>Description</h2> 16 <p> 17 This test validates that an option element is disabled if its disabled attribute is present. 18 </p> 19 20 <h2>Test steps:</h2> 21 <ol> 22 <li> 23 Click the select flag to select 'Option2' 24 </li> 25 </ol> 26 27 <h2>Result:</h2> 28 <p>Test passes if not able to select 'Option2'</p>