Automatic update from web-platform-tests layout: Update group index when reusing table-column box Even if we can reuse the box, its column group index may have changed, e.g. due to the removal of a previous column group. So just update it. Signed-off-by: Oriol Brufau <obrufau@igalia.com> -- wpt-commits: 8b52bbdf73d05bad5f635e86d1734a17225acad2 wpt-pr: 58921
27 lines
869 B
HTML
27 lines
869 B
HTML
<!DOCTYPE html>
|
|
<html class="test-wait">
|
|
<link rel="author" title="Oriol Brufau" href="obrufau@igalia.com">
|
|
<link rel="help" href="https://github.com/servo/servo/issues/39142">
|
|
<meta name="assert" content="Removing a column group should not crash">
|
|
|
|
<div style="display: table">
|
|
<div style="display: table-column-group" id="colgroup"></div>
|
|
<div style="display: table-column-group">
|
|
<!-- This column is in the 2nd column group. But after removing the
|
|
original 1st column group, the column needs to be associated with
|
|
the new 1st column group, since there is no 2nd column group
|
|
anymore. -->
|
|
<div style="display: table-column"></div>
|
|
</div>
|
|
<div style="display: table-cell"></div>
|
|
</div>
|
|
|
|
<script>
|
|
window.onload = function() {
|
|
colgroup.remove();
|
|
document.documentElement.classList.remove("test-wait")
|
|
};
|
|
</script>
|
|
|
|
</html>
|