Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1063,7 +1063,7 @@ Intrinsic Contributions of Percentage-Sized Boxes</h4>
1063
1063
then the entire value of any
1064
1064
[=max size property=] or [=preferred size property=]
1065
1065
('width' /'max-width' /'height' /'max-height' )
1066
- specified as an expression containing a percentage
1066
+ specified as an expression [= containing a percentage=]
1067
1067
(such as ''10%'' or ''calc(10px + 0%)'' )
1068
1068
that is <a lt="cyclic percentage">cyclic</a>
1069
1069
is treated
Original file line number Diff line number Diff line change @@ -4336,6 +4336,12 @@ Type Checking</h3>
4336
4336
</dl>
4337
4337
</div>
4338
4338
4339
+ <div algorithm>
4340
+ A value <dfn export for=CSS lt="contain a percentage|percentage-containing">contains a percentage</dfn>
4341
+ if its type is [=CSSNumericValue/type=] is «[ "percent" → 1 ] »,
4342
+ or its type's [=percent hint=] is non-null.
4343
+ </div>
4344
+
4339
4345
<div algorithm>
4340
4346
Two or more calculations have a <dfn export for=CSS local-lt="consistent">consistent type</dfn>
4341
4347
if [=add two types/adding the types=] doesn't result in failure.
0 commit comments