← Back to release summary

Implement visibility:collapse for table rows and row-groups

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 62)
Intent stage
None

Summary

visibility:collapse is supposed to hide table rows while preserving their contribution to column widths. Right now blink treats visibility:collapse as visibility:hidden, which merely skips painting the rows, leaving blank space in their place instead of allowing their space to be used for other content.

Standards & signals

Docs: https://www.w3.org/TR/CSS2/tables.html#dynamic-effects https://github.com/w3c/csswg-drafts/issues/478 https://developer.mozilla.org/en-US/docs/Web/CSS/visibility https://docs.google.com/a/google.com/document/d/1G3lheD7HeXNyTo0K1bv4p1XAgDhZYAII-gzx0_2AvLI/edit?usp=sharing

Samples: https://www.quirksmode.org/css/visibility.html

View on chromestatus.com