<!DOCTYPE html> | |
<script> | |
if (window.internals) { | |
internals.settings.setCSSStickyPositionEnabled(true); | |
} | |
</script> | |
<html> | |
<head> | |
<script> | |
function doTest() | |
{ | |
crashBox.scrollIntoView(true); | |
} | |
window.addEventListener('load', doTest, false); | |
</script> | |
</head> | |
<body> | |
<p>Test position: sticky for table column groups.</p> | |
<p>This test should not crash.</p> | |
<div id=crashBox style="display: table-column-group; position: sticky;"></div> | |
</body> | |
</html> | |