Skip to content

Commit b2b2009

Browse files
committed
Moved the note about single-% into the <dd>
1 parent c6b76dc commit b2b2009

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

css3-images/Overview.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,18 +1110,19 @@ <h4 class=no-toc id=radial-gradient-syntax><span class=secno>4.2.1. </span>
11101110
<dl>
11111111
<dt><dfn id=radial-size-circle>&lt;length></dfn>
11121112

1113-
<dd>Gives the radius of the circle explicitly. Negative values are
1114-
invalid.
1113+
<dd>
1114+
<p>Gives the radius of the circle explicitly. Negative values are
1115+
invalid.</p>
1116+
1117+
<p class=note>Note that percentages are <em>not</em> allowed here; they
1118+
can only be used to specify the size of an elliptical gradient, not a
1119+
circular one. This restriction exists because there is no obvious
1120+
answer as to which dimension the percentage should be relative to. A
1121+
future level of this module may provide the ability to size circles
1122+
with percentages, perhaps with more explicit controls over which
1123+
dimension is used.</p>
11151124
</dl>
11161125

1117-
<p class=note>Note that percentages are <em>not</em> allowed here; they
1118-
can only be used to specify the size of an elliptical gradient, not a
1119-
circular one. This restriction exists because there is no obvious answer
1120-
as to which dimension the percentage should be relative to. A future
1121-
level of this module may provide the ability to size circles with
1122-
percentages, perhaps with more explicit controls over which dimension is
1123-
used.</p>
1124-
11251126
<p>If <a href="#ltshape"><i>&lt;shape></i></a> is specified as
11261127
&lsquo;<code class=css>ellipse</code>&rsquo; or is omitted,
11271128
<i>&lt;extent></i> may instead be given explicitly as:

css3-images/Overview.src.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,11 +684,13 @@ <h4 class='no-toc' id='radial-gradient-syntax'>
684684

685685
<dl>
686686
<dt><dfn id='radial-size-circle'>&lt;length></dfn></dt>
687-
<dd>Gives the radius of the circle explicitly. Negative values are
688-
invalid.
689-
</dl>
687+
<dd>
688+
<p>Gives the radius of the circle explicitly. Negative values are
689+
invalid.</p>
690690

691-
<p class='note'>Note that percentages are <em>not</em> allowed here; they can only be used to specify the size of an elliptical gradient, not a circular one. This restriction exists because there is no obvious answer as to which dimension the percentage should be relative to. A future level of this module may provide the ability to size circles with percentages, perhaps with more explicit controls over which dimension is used.</p>
691+
<p class='note'>Note that percentages are <em>not</em> allowed here; they can only be used to specify the size of an elliptical gradient, not a circular one. This restriction exists because there is no obvious answer as to which dimension the percentage should be relative to. A future level of this module may provide the ability to size circles with percentages, perhaps with more explicit controls over which dimension is used.</p>
692+
</dd>
693+
</dl>
692694

693695
<p>If <i>&lt;shape></i> is specified as ''ellipse'' or is omitted,
694696
<i>&lt;extent></i> may instead be given explicitly as:

0 commit comments

Comments
 (0)