Skip to content

Commit f16d6c7

Browse files
committed
make some negative values invalid
1 parent 2372a1a commit f16d6c7

2 files changed

Lines changed: 647 additions & 761 deletions

File tree

css3-exclusions/Exclusions.src.html

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,31 +1222,54 @@ <h4 id="supported-svg-shapes">Supported SVG Shapes</h4>
12221222
<dt>rectangle([&lt;length&gt;|&lt;percentage&gt;]{4} [ curve [&lt;length&gt;|&lt;percentage&gt;]{1,2} ]? )</dt>
12231223
<dd>
12241224
<ul>
1225-
<li>The four values represent <strong>x, y, width and height</strong> - define the bounding box of the rectangle</li>
12261225
<li>
1227-
The two 'curve' values represent <strong>
1228-
rx</strong> and <strong>ry</strong> - define the rounded rectangles, the <strong>x</strong>
1229-
and <strong>y</strong> axis and radius of the ellipse used to round off the corners
1230-
of the rectangle
1226+
The four values represent
1227+
<strong>x, y, width</strong> and
1228+
<strong>height</strong>.
1229+
They define the bounding box
1230+
of the rectangle.
1231+
Negative values for width and height are invalid.
1232+
</li>
1233+
<li>
1234+
The two 'curve' values represent
1235+
<strong> rx</strong> and <strong>ry</strong>.
1236+
For rounded rectangles they define
1237+
the x-axis radius and y-axis radius
1238+
of the ellipse used to round off
1239+
the corners of the rectangle.
1240+
Negative values for rx and ry are invalid.
12311241
</li>
12321242
</ul>
12331243
</dd>
12341244
<dt>circle([&lt;length&gt;|&lt;percentage&gt;]{3})</dt>
12351245
<dd>
12361246
<ul>
12371247
<li>
1238-
The three values values represent <strong>cx</strong>, <strong>cy</strong>,
1239-
<strong>r</strong> - The <strong>x</strong> and <strong>y</strong> axis coordinate
1240-
of the center of the circle and the radius of the circle
1248+
The three values values represent
1249+
<strong>cx</strong>,
1250+
<strong>cy</strong>,
1251+
and <strong>r</strong>.
1252+
They define the x-axis and y-axis coordinates
1253+
of the center of the circle
1254+
and the radius of the circle.
1255+
A negative value for r is invalid.
12411256
</li>
12421257
</ul>
12431258
</dd>
12441259
<dt>ellipse([&lt;length&gt;|&lt;percentage&gt;]{4})</dt>
12451260
<dd>
12461261
<ul>
1247-
<li>The four values represent <strong>cx</strong>, <strong>cy</strong>, <strong>rx</strong> and <strong>ry</strong> -
1248-
The <strong>x</strong> and <strong>y</strong> coordinate of the center of the ellipse and
1249-
the <strong>x</strong> and <strong>y</strong> axis radius of the ellipse
1262+
<li>
1263+
The four values represent
1264+
<strong>cx</strong>,
1265+
<strong>cy</strong>,
1266+
<strong>rx</strong>, and
1267+
<strong>ry</strong>.
1268+
They define the x-axis and y-axis coordinates
1269+
of the center of the ellipse
1270+
and the x-axis and y-axis radius
1271+
of the ellipse.
1272+
Negative values for rx and ry are invalid.
12501273
</li>
12511274
</ul>
12521275
</dd>

0 commit comments

Comments
 (0)