Skip to content

Commit 4837eaa

Browse files
committed
[css-tables] editorial
1 parent cc096f4 commit 4837eaa

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

css-tables-3/Overview.bs

+29-29
Original file line numberDiff line numberDiff line change
@@ -606,35 +606,6 @@ spec:filter-effects-1; type:property; text:filter
606606
to make it easier to understand.
607607
</p>
608608
<img src="images/CSS-Tables-Layout-Merged.svg" style="width: 100%" />
609-
<details style="border: 3px solid silver">
610-
<summary style="background:silver">Legend</summary>
611-
<div>
612-
613-
<b>Sizing algorithms: </b>
614-
Each drawing of the table represents a way of sizing the columns.
615-
The four cases on the left are the sizing-guesses described above in the spec:
616-
<a href="#min-content-sizing-guess">min-content</a>,
617-
<a href="#min-content-percentage-sizing-guess">min-content-percentage</a>,
618-
<a href="#min-content-specified-sizing-guess">min-content-specified</a>, and
619-
<a href="#max-content-sizing-guess">max-content</a>.
620-
The cases on the right are interpolations required for available sizes that do not match exactly one of the four sizing-guesses.
621-
622-
<b>Choice of sizing method: </b>
623-
The sizing method selection always starts at the min-content sizing-guess (top left),
624-
and then proceeds by comparing the available width and the width consumed by the method currently in use.
625-
Green arrows indicate the direction you should follow
626-
if you have extra space to distribute after applying the current method.
627-
Red arrows indicate the direction you should follow
628-
if you have distributed too much space by applying the current method and need to backtrack.
629-
630-
<b>Columns types: </b>
631-
Each type of column (auto, px, %) has its own color in the schema (yellow, blue, orange).
632-
In an interpolation:
633-
columns that get shrinked down from their size in previous sizing-guess are repainted red, and
634-
columns that get expanded from their size in previous sizing-guess are repainted green.
635-
636-
</div>
637-
</details>
638609
<figcaption>Overview of the table layout algorithm. Not normative.</figcaption>
639610
</figure>
640611

@@ -1763,6 +1734,35 @@ spec:filter-effects-1; type:property; text:filter
17631734
to make it easier to understand.
17641735
</p>
17651736
<img src="images/CSS-Tables-Column-Width-Assignment.svg" style="width: 100%" />
1737+
<details style="border: 3px solid silver; text-align: left;">
1738+
<summary style="background: silver">Legend</summary>
1739+
<div>
1740+
1741+
<b>Sizing algorithms: </b>
1742+
Each drawing of the table represents a way of sizing the columns.
1743+
The four cases on the left are the sizing-guesses described above in the spec:
1744+
<a href="#min-content-sizing-guess">min-content</a>,
1745+
<a href="#min-content-percentage-sizing-guess">min-content-percentage</a>,
1746+
<a href="#min-content-specified-sizing-guess">min-content-specified</a>, and
1747+
<a href="#max-content-sizing-guess">max-content</a>.
1748+
The cases on the right are interpolations required for available sizes that do not match exactly one of the four sizing-guesses.
1749+
1750+
<b>Choice of sizing method: </b>
1751+
The sizing method selection always starts at the min-content sizing-guess (top left),
1752+
and then proceeds by comparing the available width and the width consumed by the method currently in use.
1753+
Green arrows indicate the direction you should follow
1754+
if you have extra space to distribute after applying the current method.
1755+
Red arrows indicate the direction you should follow
1756+
if you have distributed too much space by applying the current method and need to backtrack.
1757+
1758+
<b>Columns types: </b>
1759+
Each type of column (auto, px, %) has its own color in the schema (yellow, blue, orange).
1760+
In an interpolation:
1761+
columns that get shrinked down from their size in previous sizing-guess are repainted red, and
1762+
columns that get expanded from their size in previous sizing-guess are repainted green.
1763+
1764+
</div>
1765+
</details>
17661766
<figcaption>Overview of the width distribution algorithm. Not normative.</figcaption>
17671767
</figure>
17681768

0 commit comments

Comments
 (0)