Merge "[Release] Webkit2-efl-123997_0.11.51" into tizen_2.1
[framework/web/webkit-efl.git] / LayoutTests / accessibility / media-controls.html
1 <!DOCTYPE HTML>
2 <html>
3   <body>
4     <script src="../fast/js/resources/js-test-pre.js"></script>
5     <script>
6       description("This tests that the script creation of an audio element with controls works when accessibility is enabled and does not crash.");
7
8       if (window.testRunner && window.accessibilityController) {
9           function createAudio() {
10               var audio = document.createElement('audio');
11               audio.setAttribute('controls', 'controls');
12               document.documentElement.appendChild(audio);
13           }
14           window.onload = createAudio;
15       }
16     </script>
17     <script src="../fast/js/resources/js-test-post.js"></script>
18   </body>
19 </html>