Skip to content

Commit bda9b47

Browse files
committed
[css-values-4] Fix example.
1 parent f1a62a0 commit bda9b47

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

css-values-4/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2670,16 +2670,16 @@ Exponential Functions: ''pow()'', ''sqrt()'', ''hypot()''</h3>
26702670
<pre class=lang-css>
26712671
:root {
26722672
--h6: calc(1rem * pow(1.5, -1);
2673-
--h5: 1rem;
2674-
--h4: calc(1rem * pow(1.5, 2);
2675-
--h3: calc(1rem * pow(1.5, 3);
2676-
--h2: calc(1rem * pow(1.5, 4);
2677-
--h1: calc(1rem * pow(1.5, 5);
2673+
--h5: calc(1rem * pow(1.5, 0);
2674+
--h4: calc(1rem * pow(1.5, 1);
2675+
--h3: calc(1rem * pow(1.5, 2);
2676+
--h2: calc(1rem * pow(1.5, 3);
2677+
--h1: calc(1rem * pow(1.5, 4);
26782678
}
26792679
</pre>
26802680

2681-
...rather than writing out the values in pre-calculated numbers like ''7.6rem''
2682-
(what ''calc(1rem * pow(1.5, 5))'' resolves to)
2681+
...rather than writing out the values in pre-calculated numbers like ''5.0625rem''
2682+
(what ''calc(1rem * pow(1.5, 4))'' resolves to)
26832683
which have less clear provenance when encountered in a stylesheet.
26842684
</div>
26852685

0 commit comments

Comments
 (0)