File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -1607,22 +1607,6 @@ Computed Value</h4>
1607
1607
(e.g. <a href="https://www.w3.org/TR/CSS21/visudet.html#the-height-property">the <css>height</css> property</a> ),
1608
1608
they apply whenever a ''calc()'' expression contains percentages.
1609
1609
1610
- <div class=note>
1611
- Note: The serialization rules do not preserve the structure of the computation,
1612
- so implementations can simplify the expressions
1613
- further than what is required here
1614
- when storing the values internally;
1615
- in particular, all ''calc()'' expressions can be reduced
1616
- to a sum of a <<number>> , a <<percentage>> , and some <<dimension>> s,
1617
- eliminating all multiplication or division,
1618
- and combining terms with identical units.
1619
-
1620
- At this time, all units can be absolutized
1621
- to a single unit per type at computed-value time,
1622
- so at that point the ''calc()'' expression can be reduced
1623
- to just a <<number>> , a <<percentage>> , and a single absolute <<dimension>> of the appropriate type.
1624
- </div>
1625
-
1626
1610
<div class='example'>
1627
1611
For example, 'background-position' has special behavior for percentage values, different from lengths:
1628
1612
Original file line number Diff line number Diff line change @@ -1693,6 +1693,8 @@ Range Checking</h4>
1693
1693
<h4 id='calc-serialize'>
1694
1694
Serialization</h4>
1695
1695
1696
+ Issue: This section is still <a href="https://lists.w3.org/Archives/Member/w3c-css-wg/2016AprJun/0239.html">under discussion</a> .
1697
+
1696
1698
To serialize a ''calc()'' value:
1697
1699
1698
1700
1. Simplify the expression by:
You can’t perform that action at this time.
0 commit comments