Skip to content

Commit 7010391

Browse files
committed
Clarify that formula applies to two radii, not all four, <http://lists.w3.org/Archives/Public/www-style/2012Mar/0258.html>
1 parent 54941f4 commit 7010391

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

css3-background/Overview.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2902,11 +2902,11 @@ <h3 id=corner-overlap><span class=secno>5.5. </span>Overlapping Curves</h3>
29022902
<p>Let <var>f</var> =
29032903
min(<var>L<sub>i</sub></var>/<var>S<sub>i</sub></var>), where <var>i</var>
29042904
∈ {top, right, bottom, left}, <var>S<sub>i</sub></var> is the sum of the
2905-
radii of the corners on side <var>i</var>, and <var>L<sub>top</sub></var>
2906-
= <var>L<sub>bottom</sub></var> = the width of the box, and
2907-
<var>L<sub>left</sub></var> = <var>L<sub>right</sub></var> = the height of
2908-
the box. If <var>f</var> &lt; 1, then all corner radii are reduced by
2909-
multiplying them by <var>f</var>.
2905+
two corresponding radii of the corners on side <var>i</var>, and
2906+
<var>L<sub>top</sub></var> = <var>L<sub>bottom</sub></var> = the width of
2907+
the box, and <var>L<sub>left</sub></var> = <var>L<sub>right</sub></var> =
2908+
the height of the box. If <var>f</var> &lt; 1, then all corner radii are
2909+
reduced by multiplying them by <var>f</var>.
29102910

29112911
<p class=note>Note that this formula ensures that quarter circles remain
29122912
quarter circles and large radii remain larger than smaller ones, but it

css3-background/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,8 +2054,8 @@ <h3 id="corner-overlap">Overlapping Curves</h3>
20542054

20552055
<p>Let <var>f</var> = min(<var>L<sub>i</sub></var>/<var>S<sub>i</sub></var>),
20562056
where <var>i</var> ∈ {top, right, bottom, left},
2057-
<var>S<sub>i</sub></var> is the sum of the radii of the corners on
2058-
side <var>i</var>, and <var>L<sub>top</sub></var> =
2057+
<var>S<sub>i</sub></var> is the sum of the two corresponding radii of the
2058+
corners on side <var>i</var>, and <var>L<sub>top</sub></var> =
20592059
<var>L<sub>bottom</sub></var> = the width of the box, and
20602060
<var>L<sub>left</sub></var> = <var>L<sub>right</sub></var> = the
20612061
height of the box. If <var>f</var> &lt; 1, then all corner radii are

0 commit comments

Comments
 (0)