Skip to content

Commit cd7f25a

Browse files
committed
[css-tables] Minor varia
1 parent 31414a1 commit cd7f25a

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

css-tables-3/Overview.bs

+17-11
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ spec:css21; type:property; text:max-width
253253

254254
<p>
255255
Any <a>table-internal</a> element will automatically generate necessary anonymous table objects around itself, if necessary.
256-
Any non-table descendant of a <a>table-root</a> must have a ancestors consisting of
256+
Any descendant of a <a>table-root</a> that is not table-internal
257+
must have a set of ancestors in the table consisting of
257258
at least three nested objects corresponding to
258259
a <a>table</a>/<a>inline-table</a> element,
259260
a <a>table-row</a> element, and
@@ -569,7 +570,12 @@ spec:css21; type:property; text:max-width
569570
table[bordercolor=$color] {
570571
border-color: /*parseHTMLColor($color)*/;
571572
}
572-
table[bordercolor] {
573+
table[bordercolor] > :matches(tbody, thead, tfoot, tr, colgroup, col),
574+
table[bordercolor] > :matches(tbody, thead, tfoot) > tr,
575+
table[bordercolor] > :matches(tbody, thead, tfoot) > tr > :matches(td, th),
576+
table[bordercolor] > tr > :matches(td, th)
577+
table[bordercolor] > colgroup > col
578+
) {
573579
border-color: inherit;
574580
}
575581
table[bgcolor=$color] {
@@ -772,8 +778,8 @@ spec:css21; type:property; text:max-width
772778
consecutive tracks spanned by the same set of cells
773779
are merged into one single track
774780
for the purpose of computing the layout of the table
775-
if except the first of such sequence of tracks
776-
there is no table-column/table-row element defining them explicitely;
781+
if there is no table-column/table-row element defining them explicitly
782+
(except possibly the first track of the sequence);
777783
if 'table-layout' computes to "fixed" on the table-root,
778784
columns are however never merged together.
779785
Change the spanning of the cells contained in those tracks
@@ -866,14 +872,14 @@ spec:css21; type:property; text:max-width
866872
a <code>&lt;length-percentage&gt</code>,
867873
<code>min-content</code> or
868874
<code>fit-content</code>;
869-
in the other cases, the computed value of the property is always <code>auto</code>.
875+
when it is not one of those values, the computed value of the property is always <code>auto</code>.
870876

871877
<p>
872878
When the 'table-layout' property computes to <code>fixed</code>,
873879
the content of the table-cells is ignored for the purpose of width computation
874880
the aggregation algorithm for column sizing is not applied beyond the first row,
875-
and the values explicitely specified for the table-columns and the first row of the table are used instead;
876-
columns with undefinite widths are attributed their fair share of the remaining space
881+
and the values explicitly specified for the table-columns and the first row of the table are used instead;
882+
columns with indefinite widths are attributed their fair share of the remaining space
877883
after the columns with a definite width have been considered, or 0px if there is no remaining space
878884
(see [[#computing-column-measures]]).
879885

@@ -1386,7 +1392,7 @@ spec:css21; type:property; text:max-width
13861392

13871393
<!--------------------------------------------------------------------------------->
13881394
<dt><dfn>table intrinsic offsets</dfn></dt>
1389-
<dd>The table intrinsic offsets is a term to capture the parts of the padding and border of a table
1395+
<dd>The table intrinsic offsets capture the parts of the padding and border of a table
13901396
that are relevant to intrinsic width calculation.
13911397
It is a set of computed values for border-left-width, padding-left, padding-right, and border-right-width
13921398
(along with zero values for margin-left and margin-right)
@@ -1714,7 +1720,7 @@ spec:css21; type:property; text:max-width
17141720
<p class="note">
17151721
As noted before, this would usually be the sum of preferred width of all columns, plus any extra.
17161722
In this case, the width distribution will result in giving each column its preferred width.
1717-
There are however a few cases where the authors asks for some other width explicitely,
1723+
There are however a few cases where the author asks for some other width explicitly,
17181724
as well as a few cases where the table cannot be given the width it requires.
17191725

17201726
<p class="issue">
@@ -2581,8 +2587,8 @@ spec:css21; type:property; text:max-width
25812587
<strong>Visible tracks: </strong>
25822588
For the purpose of this algorithm, a column or row
25832589
is considered a <dfn id="visible-track">visible track</dfn> if both of those conditions apply:
2584-
<ul><li>It is not explicitely defined by a table-column or table-row element, or:<br/>
2585-
It is explicitely defined by a table-column or table-row element that does not have visibility:collapse
2590+
<ul><li>It is not explicitly defined by a table-column or table-row element, or:<br/>
2591+
It is explicitly defined by a table-column or table-row element that does not have visibility:collapse
25862592
<li>It is not logically contained in a table-column-grouping or table-row-grouping element, or:<br/>
25872593
It is logically contained in a table-column-grouping or table-row-grouping element that does not have visibility:collapse</ul>
25882594
</div>

0 commit comments

Comments
 (0)