sandbox_003-manual.htm (1357B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>HTML5 Sandbox: Block autofocus on form control inside iframe with sandbox attribute.</title> 5 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> 6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 7 <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#sandboxed-automatic-features-browsing-context-flag" /> 8 <meta name="assert" content="Block autofocus on form control inside iframe with sandbox attribute." /> 9 <script src="support/sandbox_helper.js" type="text/javascript"></script> 10 </head> 11 <body> 12 <pre>Description: Block autofocus on form controls inside iframe with sandbox attribute.</pre> 13 <table id='testtable' border='1'> 14 <tr> 15 <td>Test Result</td> 16 <td>Test Assertion</td> 17 </tr> 18 <tr> 19 <td id='test_0_result'>Manual</td> 20 <td id='test_0_assertion'>Test passes if caret (text cursor) is not on the textbox in the below iframe.</td> 21 </tr> 22 </table> 23 <br /> 24 <div id="testframe"> 25 <pre>iframe with sandbox</pre> 26 <iframe src="support/iframe_sandbox_003.htm" sandbox style="height: 100px; width: 400px;"></iframe> 27 </div> 28 <script type="text/javascript"> 29 DisableTestForNonSupportingBrowsers(); 30 </script> 31 </body> 32 </html>