| <!DOCTYPE html> | |
| <style> | |
| .CLASS8 { | |
| display: inline-block; | |
| max-height: 3.5%; | |
| } | |
| </style> | |
| <p>Test passes if it does not crash.</p> | |
| <span><div id="inner" style="display:none"></div></span> | |
| <div class="CLASS8"></div> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| document.documentElement.offsetTop; | |
| document.getElementById("inner").style.display = ""; | |
| </script> |