<!DOCTYPE html> | |
<html> | |
<body> | |
This test will trigger an assertion failure in debug build if section pointers | |
are not refreshed prior to iterating table cells during table-layout change. | |
<table id="table" style="table-layout:fixed; width: 1px;"><thead></thead></table> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
document.body.offsetTop; | |
var table = document.getElementById('table'); | |
table.children[0].remove(); | |
table.style.setProperty('table-layout', 'auto'); | |
</script> | |
</body> | |
</html> |