Torne (Richard Coles) | 5c87bf8 | 2012-11-14 11:46:17 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <style> #error { display: none; } </style> |
| 4 | <script> |
| 5 | function showErrorMsg() |
| 6 | { |
| 7 | document.getElementById('error').style.display = 'block'; |
| 8 | } |
| 9 | </script> |
| 10 | </head> |
| 11 | |
| 12 | <body onload="showErrorMsg()"> |
| 13 | |
| 14 | <p>TEST: Video should have controls when scripting is disabled.</p> |
| 15 | |
| 16 | <video |
| 17 | src="http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov"> |
| 18 | </video> |
| 19 | |
| 20 | <noscript><p>Scripting is DISABLED.</p></noscript> |
| 21 | |
| 22 | <p id=error>ERROR: JavaScript must be disabled for this test.</p> |
| 23 | |
| 24 | |
| 25 | </body> |
| 26 | </html> |