Re: [csswg-drafts] [css-tables] Do anonymous table-column-group and table-column boxes get created for tables that don't have any?

```visibility:collapse``` does not apply to table elements. It only applies to non-cell table-internal elements.

> If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'. 
> www.w3.org/TR/CSS2/visufx.html#visibility

this is also clarified here

> Visible tracks: For the purpose of this algorithm, a column or row is considered a visible track if neither its corresponding table-track nor its table-track-group parent (if any) have visibility set to collapse.
> https://drafts.csswg.org/css-tables-3/#bounding-box-assignment

if you look at anonymous element creation, you'll see that no anonymous column element is ever created, so that should settle the case for your specific example.

as for inheritability if the ```<col>``` was written in markup, I would assume "collapse" computes to "hidden" and is inherited as such in the case mentioned here but I will admit it is not written anywhere. I would argue though that if that needs to be clarified, it should be clarified in the spec that defines the visibility property:

> https://drafts.csswg.org/css-box-3/#visibility-prop

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

Received on Wednesday, 30 August 2017 18:47:44 UTC