Skip to content

Commit 383bb3b

Browse files
committed
Clarify that border radius reduction is performed on the used value
1 parent f78de36 commit 383bb3b

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

css3-background/Overview.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,8 +2530,8 @@ <h4 id=corner-overlap><span class=secno>4.4.4. </span>Overlapping Curves</h4>
25302530

25312531
<p>Corner curves must not overlap: When the sum of any two adjacent border
25322532
radii exceeds the size of the border box, UAs must proportionally reduce
2533-
all border radii until none of them overlap. The algorithm for reducing
2534-
radii is as follows:
2533+
the used value of all border radii until none of them overlap. The
2534+
algorithm for reducing radii is as follows:
25352535

25362536
<p>Let <var>f</var> =
25372537
min(<var>L<sub>i</sub></var>/<var>S<sub>i</sub></var>), where <var>i</var>
@@ -2551,6 +2551,9 @@ <h4 id=corner-overlap><span class=secno>4.4.4. </span>Overlapping Curves</h4>
25512551
further reduce the used value of the affected border radii (and only the
25522552
affected border radii) as much as necessary, but no more.
25532553

2554+
<p>The rendering of the box must be exactly the same as if the reduced
2555+
border-radius values were those originally specified.
2556+
25542557
<div class=example>
25552558
<p>For example, the borders A and D of the <a
25562559
href="#reduced-radius">figure below</a> might be the result of

css3-background/Overview.src.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,9 +1829,9 @@ <h4 id="corner-transitions">Color and Style Transitions</h4>
18291829
<h4 id="corner-overlap">Overlapping Curves</h4>
18301830

18311831
<p>Corner curves must not overlap: When the sum of any two adjacent border
1832-
radii exceeds the size of the border box, UAs must proportionally reduce all
1833-
border radii until none of them overlap. The algorithm for reducing radii
1834-
is as follows:
1832+
radii exceeds the size of the border box, UAs must proportionally reduce
1833+
the used value of all border radii until none of them overlap. The algorithm
1834+
for reducing radii is as follows:
18351835

18361836
<p>Let <var>f</var> = min(<var>L<sub>i</sub></var>/<var>S<sub>i</sub></var>),
18371837
where <var>i</var> ∈ {top, right, bottom, left},
@@ -1852,6 +1852,9 @@ <h4 id="corner-overlap">Overlapping Curves</h4>
18521852
may further reduce the used value of the affected border radii (and
18531853
only the affected border radii) as much as necessary, but no more.
18541854

1855+
<p>The rendering of the box must be exactly the same as if the reduced
1856+
border-radius values were those originally specified.</p>
1857+
18551858
<div class=example>
18561859
<p>For example, the borders A and D of the <a
18571860
href="#reduced-radius">figure below</a> might be the

0 commit comments

Comments
 (0)