Skip to content

Commit

Permalink
[css-values-4] Non-property contexts treat math functions as specifie…
Browse files Browse the repository at this point in the history
…d values. #7964
  • Loading branch information
tabatkins committed May 4, 2023
1 parent 0aa950c commit 0ccfcb3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css-values-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4409,6 4409,11 @@ Simplification</h4>
combining similar units,
etc.).

When used in non-property contexts
(such as in ''@font-face'' descriptors, for example),
[=math functions=] are simplified
as if they were [=specified values=].

<div algorithm>
To <dfn export local-lt="simplify" lt="simplify a calculation tree|simplifying a calculation tree">simplify a calculation tree</dfn> |root|:

Expand Down Expand Up @@ -4865,6 4870,11 @@ Serialization</h3>
which then drops the ''calc()'' wrapper.)
</div>

When used in non-property contexts
(such as in ''@font-face'' descriptors, for example),
[=math functions=] are simplified
as if they were [=specified values=].

See [[!CSSOM]] for further information on serialization.

<h3 id='combine-math'>
Expand Down

0 comments on commit 0ccfcb3

Please sign in to comment.