Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-tables/crashtests/col_span_dynamic_crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<style>
col {
border:2px solid green;
}
</style>
<table style="border-collapse:collapse">
<colgroup>
<col span=3 id="target">
</colgroup>
<tbody>
<tr>
<td>a</td>
<td>b</td>
</tr>
</tbody>
</table>
<script>
document.body.offsetTop;
document.querySelector("#target").setAttribute("span", 0);
</script>