optgroup-disabled-manual.html (1087B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>HTMLOptGroupElement Test: disabled</title> 4 <meta name="flags" content="interact"> 5 <link rel="author" title="Intel" href="http://www.intel.com/"> 6 7 <form> 8 <select> 9 <optgroup label="8.01" disabled> 10 <option value="8.01.1">Lecture 01: Powers of Ten</option> 11 <option value="8.01.2">Lecture 02: 1D Kinematics</option> 12 <option value="8.01.3">Lecture 03: Vectors</option> 13 </optgroup> 14 <optgroup label="8.02"> 15 <option value="8.02.1">Lecture 01: What holds our world together?</option> 16 <option value="8.02.2">Lecture 02: Electric Field</option> 17 <option value="8.02.3">Lecture 03: Electric Flux</option> 18 </optgroup> 19 </select> 20 </form> 21 22 <h2>Description</h2> 23 <p> 24 This test validates that an optgroup element is disabled if its disabled attribute is present. 25 </p> 26 27 <h2>Test steps:</h2> 28 <ol> 29 <li> 30 Click the select flag to select section '8.01' 31 </li> 32 </ol> 33 34 <h2>Result:</h2> 35 <p>Click the select flag and try to select section 8.01, test passes if the section 8.01 is disable to be selected</p>