[csswg-drafts] [css-tables] Cells spanning collapsed track (#11799)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-tables] Cells spanning collapsed track ==
https://drafts.csswg.org/css2/#dynamic-effects

> Contents of spanned rows and columns that intersect the collapsed column or row are clipped.

How exactly are they clipped? If for example I have a cell with text "A B C" spanning 3 columns, roughly each letter on a column, and the middle column is collapsed, am I supposed to see "A C"? Or clip at the end like "A B"?

Here I have a more complete testcase:

```html
<!DOCTYPE html>
<table border>
  <col></col>
  <col></col>
  <col style="visibility: collapse"></col>
  <col></col>
  <col></col>
  <tr>
    <td>A1</td>
    <td>A2</td>
    <td>A3</td>
    <td>A4</td>
    <td>A5</td>
  </tr>
  <tr>
    <td>B1</td>
    <td colspan="3" rowspan="3">B2 B3 B4<br>C2 C3 C4<br>D2 D3 D4</td>
    <td>B5</td>
  </tr>
  <tr style="visibility: collapse">
    <td>C1</td>
    <td>C5</td>
  </tr>
  <tr>
    <td>D1</td>
    <td>D5</td>
  </tr>
  <tr>
    <td>E1</td>
    <td>E2</td>
    <td>E3</td>
    <td>E4</td>
    <td>E5</td>
  </tr>
</table>
```

| Gecko | Blink | Servo |
| - | - | - |
| ![](https://github.com/user-attachments/assets/687f3e07-d26b-4c08-b716-db3cc0cc0eee) | ![](https://github.com/user-attachments/assets/79aba07d-7469-4960-b066-9e35acf08cce) | ![](https://github.com/user-attachments/assets/21e9d214-f6b2-4c6e-acb9-c00c9acc5e81) |

No browser clips at all!

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11799 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 28 February 2025 01:00:15 UTC