| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script> | |
| 4 function test() | |
| 5 { | |
| 6 if (window.testRunner) | |
| 7 testRunner.dumpAsText(); | |
| 8 document.getElementById('bt').focus(); | |
| 9 if (window.accessibilityController) | |
| 10 var test = accessibilityController.focusedElement.stringAttr
ibuteValue("aria-activedescendant"); | |
| 11 document.getElementById('bt').click(); | |
| 12 } | |
| 13 </script> | |
| 14 </head> | |
| 15 <body onload="test()"> | |
| 16 This tests that there is no crash if you set an aria-activedescendant at
tribute to an id of an element that has no renderer.<br> | |
| 17 <input type="button" id="bt" onclick="this.setAttribute('aria-activedesc
endant', 'hiddenElement')" value="Use VoiceOver to activate this button, and the
n navigate to the next element"> | |
| 18 <div id="hiddenElement" style="display:none"></div> | |
| 19 </body> | |
| 20 </html> | |
| OLD | NEW |