Content-Length: 288410 | pFad | http://github.com/w3c/csswg-drafts/commit/da777c68ad9f702e6b44f3a91992e45fa0a4a26f

0B [css-values-4][css-sizing-3] Define 'contains a percentage', ref it i… · w3c/csswg-drafts@da777c6 · GitHub
Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit da777c6

Browse files
committedFeb 29, 2024
[css-values-4][css-sizing-3] Define 'contains a percentage', ref it in Sizing. #10017
1 parent b32b11e commit da777c6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎css-sizing-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ Intrinsic Contributions of Percentage-Sized Boxes</h4>
10631063
then the entire value of any
10641064
[=max size property=] or [=preferred size property=]
10651065
('width'/'max-width'/'height'/'max-height')
1066-
specified as an expression containing a percentage
1066+
specified as an expression [=containing a percentage=]
10671067
(such as ''10%'' or ''calc(10px + 0%)'')
10681068
that is <a lt="cyclic percentage">cyclic</a>
10691069
is treated

‎css-values-4/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4336,6 +4336,12 @@ Type Checking</h3>
43364336
</dl>
43374337
</div>
43384338

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+
43394345
<div algorithm>
43404346
Two or more calculations have a <dfn export for=CSS local-lt="consistent">consistent type</dfn>
43414347
if [=add two types/adding the types=] doesn't result in failure.

0 commit comments

Comments
 (0)
Failed to load comments.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/w3c/csswg-drafts/commit/da777c68ad9f702e6b44f3a91992e45fa0a4a26f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy