blob: cfc0869bac8f1fd432064120b5ba55960b55a051 [file] [log] [blame]
<!DOCTYPE HTML>
<script src="resources/autosizingTest.js"></script>
Test for crbug.com/359387: this test passes if it does not crash.<br/>
<style>
table {
overflow: hidden;
width: 200px;
position: relative;
height: 100px;
}
</style>
<table>
<tr>
<td style="position: absolute;">
<li id="liEl"/>
</td>
</tr>
</table>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
window.requestAnimationFrame(function() {
liEl.style.overflow = "scroll";
window.requestAnimationFrame(function() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.notifyDone();
}
});
});
</script>