Re: [csswg-drafts] [css-tables] Background rendering model

For completeness, here is the original comment that prompted this issue:

----------------------

> There should be a way to show <tr> background by using visibility:hidden.

I am not so sure how that is actually useful. The point is that we are going to need to sacrifice some things with tables because they cannot possibly work like the rest of css. What we are going to sacrifice is the question. I would argue having the backgrounds of the tr rendered on the cells instead of being clipped to the cells makes more sense because it then "sticks" to the cell, for instance if you transform it:

https://wptest.center/#/ihhvr4

But that, really, is another question entirely. You are right it would be necessary to resolve this question first. If we want to render on the TR/TBODY/COL/COLGROUP and clip based on the table layout instead of letting each cell draw things for themselves, then we cannot merge empty-cells:hidden and visiblity:hidden either.

---------------

Also for some fun (also try to uncollapse the row):
https://wptest.center/#/kniad8


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

Received on Friday, 28 July 2017 20:53:04 UTC