Re: [csswg-drafts] [css2][css-tables] Do collapsed tracks also shrink the table wrapper box or only the table grid box? (#11408)

(your example: assuming COL moved inside TABLE)

OMG! You're right. Contributions have to remain the same. Then, the "space normally taken up by the row or column to be made available for other content" [1] is not something we can do, then.

[1] https://www.w3.org/TR/CSS22/tables.html#dynamic-effects

The rendering of the test is also completely messed up in Blink, FWIW, if you add some colors to the boxes. From the looks of it (the border), the intrinsic size propagation remains unchanged in this case, though, but the table box itself is affected by it.

```html
<!DOCTYPE html>
<style>
  td div { float: left; width: 50px; height: 50px; }
</style>
<div style="margin-top:100px; width:fit-content; border:solid;">
  <table cellspacing="0" cellpadding="0" style=" height:200px; background:gray;">
    <col id="elm" style="visibility: collapse"></col>
    <td>
      <div style="background:blue;"></div>
      <div style="background:yellow;"></div>
    </td>
    <td>
      <div style="background:cyan;"></div>
      <div style="background:hotpink;"></div>
    </td>
  </table>
</div>
```

![Image](https://github.com/user-attachments/assets/47a5e3d7-bd02-4aae-be57-1fa8deff432b)

🤣 

-- 
GitHub Notification of comment by mstensho
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11408#issuecomment-2653175625 using your GitHub account


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

Received on Wednesday, 12 February 2025 09:49:24 UTC