Html程序  |  35行  |  867 B

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
</head>
<body>
<p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=3855">Bugzilla Bug 3855</a> Table with Form Field and Hidden DIV crashes Safari</p>

<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> 
Type in the text field below.</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
Safari will not crash, text will show up in text field as expected.
</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
Safari will crash.
</p>

Type in the input field below:
<form>
<div style="display:none;">
<table>
     <tr>
        <td>test</td>
      </tr>
   </table>
</div>

<input type='text' value='' />
</form>

</body>
</html>