blob: a3ad653b32c7d99a4f5510522297b89b2b645858 [file] [log] [blame]
<style>
body {
height: 1000px;
}
col {
position: sticky;
}
</style>
<body onload="runTest()">
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
tableCol.scrollIntoViewIfNeeded(true);
}
</script>
<table>
<col id="tableCol"></col>
<p>Tests position:sticky on a table column.</p>
<p>The test passes if WebKit doesn't crash or hit an assertion.</p>
</body>