Skip to content

Commit d896a82

Browse files
committed
[css-grid] Clarify inclusion of gutters in intrinsic size of grid container. Fixes #246.
1 parent 39be12a commit d896a82

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css-grid/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,11 +799,13 @@ Sizing Grid Containers</h3>
799799
the <a>grid container</a>’s ''auto'' block size is its max-content size.
800800

801801
The <a>max-content size</a> of a <a>grid container</a> is
802-
the sum of the <a>grid container’s</a> track sizes in the appropriate axis,
802+
the sum of the <a>grid container’s</a> track sizes (including gutters)
803+
in the appropriate axis,
803804
when the grid is sized under a <a>max-content constraint</a>.
804805

805806
The <a>min-content size</a> of a <a>grid container</a> is
806-
the sum of the <a>grid container’s</a> track sizes in the appropriate axis,
807+
the sum of the <a>grid container’s</a> track sizes (including gutters)
808+
in the appropriate axis,
807809
when the grid is sized under a <a>min-content constraint</a>.
808810

809811
See [[!CSS3-SIZING]] for a definition of the terms in this section.

0 commit comments

Comments
 (0)