-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
data:htmlCompat data for HTML elements. https://developer.mozilla.org/docs/Web/HTMLCompat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/col
What specific section or headline is this issue about?
Browser compatibility
What information was incorrect, unhelpful, or incomplete?
It appears Chrome (v 142.0.xxxx.xxx) supports the span attribute for <col>, while it is listed as unsupported.
Using a test page (see below HTML and screenshot) I can see background color applied to <col> with a span of 3.
HTML
<!DOCTYPE html>
<html lang="us-US">
<head>
<meta charset='UTF-8'>
<style>
table {
border: 2px solid red;
}
th {
background-color: rgb(190, 190, 190);
}
th,
td {
border: 1px solid black;
width: 50px;
text-align: center;
}
</style>
</head>
<body>
<table>
<colgroup style="background-color: lightgoldenrodyellow"></colgroup>
<colgroup style="background-color: lightcyan;" span="2"></colgroup>
<colgroup>
<col style="background-color: lightcoral" />
<col span="3" style="background-color: lightgreen;" />
<col style="background-color: lightsalmon;" />
<col style="background-color: lightseagreen;" />
</colgroup>
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
<th>7</th>
<th>8</th>
<th>9</th>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
</table>
</body>
</html>Chrome screenshot
What did you expect to see?
Accurate representation of support of span attribute for Chrome
Do you have any supporting links, references, or citations?
No.
Do you have anything more you want to share?
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/col#browser_compatibility
MDN metadata
Page report details
- Folder:
en-us/web/html/reference/elements/col - MDN URL: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/col
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/html/reference/elements/col/index.md
- Last commit: mdn/content@7c28cd2
- Document last modified: 2025-12-17T14:40:43.000Z
Metadata
Metadata
Assignees
Labels
data:htmlCompat data for HTML elements. https://developer.mozilla.org/docs/Web/HTMLCompat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML