Skip to content

Commit 9ccb690

Browse files
committed
Better wording for transition region image
1 parent 99f7f4b commit 9ccb690

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

css3-background/Overview.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2414,16 +2414,18 @@ <h3 id=the-border-radius><span class=secno>4.4 </span>The &lsquo;<code
24142414
borders.
24152415

24162416
<div class=figure>
2417-
<p><img alt="The transition region on curved corners"
2417+
<p><img alt="Illustration of the transition region on curved corners"
24182418
src=transition-region.png>
24192419

24202420
<p class=caption>Given these corner shapes, color and style transitions
24212421
must be contained within the green region. In case D the rectangle
24222422
defined by the border radii does not include the center of the inner
24232423
curve (which is a sharp corner), so the transition region is expanded to
2424-
include that corner. In cases like this, color transitions look best when
2425-
restricted to the dark green region (defined by the tips of the border
2426-
radii and the center of the inner curve).</p>
2424+
include that corner. Transitions may take up the entire transition
2425+
region, but are not required to: For example, a gradient color transition
2426+
between two solid border styles might take up only the region bounded by
2427+
the tips of the outer radii and the center of the inner curve
2428+
(represented in case D by the dark green region).
24272429
</div>
24282430

24292431
<p>Corner curves must not overlap: When the sum of two adjacent corner

css3-background/Overview.src.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,16 +1752,18 @@ <h3 id="the-border-radius">The 'border-radius' properties</h3>
17521752
borders.
17531753

17541754
<div class="figure">
1755-
<p><img alt="The transition region on curved corners"
1755+
<p><img alt="Illustration of the transition region on curved corners"
17561756
src="transition-region.png">
17571757

17581758
<p class=caption>Given these corner shapes, color and style transitions
17591759
must be contained within the green region. In case D the rectangle
17601760
defined by the border radii does not include the center of the inner
17611761
curve (which is a sharp corner), so the transition region is expanded
1762-
to include that corner. In cases like this, color transitions look
1763-
best when restricted to the dark green region (defined by the tips of
1764-
the border radii and the center of the inner curve).</p>
1762+
to include that corner. Transitions may take up the entire transition
1763+
region, but are not required to: For example, a gradient color transition
1764+
between two solid border styles might take up only the region bounded
1765+
by the tips of the outer radii and the center of the inner curve
1766+
(represented in case D by the dark green region).
17651767
</div>
17661768

17671769
<p>Corner curves must not overlap: When the sum of two adjacent corner radii

0 commit comments

Comments
 (0)