Skip to content

Commit 79a964a

Browse files
committed
[css-grid-3][masonry] item-tolerance: normal is used-value default #12111
Since it needs to vary between masonry (1em) and flexbox (0). See #3071
1 parent cd75f02 commit 79a964a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

css-grid-3/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -791,13 +791,9 @@ Placement Precision: the 'item-tolerance' property</h3>
791791
that is probably appropriate to represent “close enough”.
792792

793793
: <dfn>normal</dfn>
794-
:: Resolves to a value of ''1em''.
794+
:: Resolves to a [=used value=] of ''1em'' in [=masonry layout=]
795+
and a [=used value=] of ''0'' in all other layout modes.
795796
<!-- This default is consistent with gaps. -->
796-
ISSUE(12111): Should this be a [=used value=] or [=computed value=] of ''1em''?
797-
Used values would allow easier responsiveness to different layout modes,
798-
and would be more consistent with 'gap',
799-
but computed values would enable interpolation with <<length-percentage>> values
800-
and are simpler to manage otherwise.
801797

802798
: <dfn>infinite</dfn>
803799
:: Specifies an infinite [=tie threshold=].
@@ -817,6 +813,10 @@ Placement Precision: the 'item-tolerance' property</h3>
817813

818814
ISSUE(10884): The CSSWG is open to better names for this property.
819815

816+
Note: We expect to apply this property to [=flex layout=] in the future also,
817+
see <a href='https://github.com/w3c/csswg-drafts/issues/3071'>discussions</a>
818+
on how that might work.
819+
820820
<h3 id="masonry-layout-algorithm">
821821
Masonry Layout and Placement Algorithm</h3>
822822

0 commit comments

Comments
 (0)