Skip to content

Commit 7e4647b

Browse files
author
Greg Whitworth
committed
[css-tables] Specified rendering of visibility: collapsed table-track/groups & spanners
1 parent d521024 commit 7e4647b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

css-tables-3/Overview.bs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,6 +2577,25 @@ With a table-internal box as non-containing block parent</h3>
25772577
: outset
25782578
:: Same as <code>groove</code>.
25792579

2580+
<!--——————————————————————————————————————————————————————————————————————————-->
2581+
<h3 id="visibility-collapse-rendering">Rendering for visibility: collapse</h3>
2582+
2583+
When a table part has <a href="http://www.w3.org/TR/CSS22/visufx.html#visibility">visibility: collapse</a> set, the rendering is handled
2584+
differently depending if it is on a <a>table-cell</a>, spanning <a>table-cell</a>, or a <a>table-track</a>/<a>table-track-group</a>.
2585+
2586+
<h4 id="visibility-collapse-cell-rendering">Rendering a visibility: collapse table cell</h4>
2587+
As stated in CSS 2.2, if a <a>table-cell</a> has its visibility set to that of collapse, it is rendered the same as
2588+
if it had <a href="http://www.w3.org/TR/CSS22/visufx.html#visibility">visibility: hidden</a> set.
2589+
2590+
If the <a>table-cell</a> is spanning more than one <a>table-track</a>, and the <a>table-track</a> is set to
2591+
<a href="http://www.w3.org/TR/CSS22/visufx.html#visibility">visibility: collapse</a> then the
2592+
cell is clipped to its border box.
2593+
2594+
<h4 id="visibility-collapse-track-rendering">Rendering a visibility: collapse table-track or table-track-group</h4>
2595+
When a <a>table-track</a> or <a>table-track-group</a> has <a href="http://www.w3.org/TR/CSS22/visufx.html#visibility">visibility: collapse</a>,
2596+
none of backgrounds, borders or outlines that are contributed by the cells within the given <a>table-track</a> or
2597+
<a>table-track-group</a> are painted.
2598+
25802599

25812600
<!--
25822601
████████ ████████ ███ ██████ ██ ██ ████████ ██ ██ ████████ ███ ████████ ████ ███████ ██ ██

0 commit comments

Comments
 (0)