1212 rel =dcterms.rights >
1313 < meta content ="CSS Shapes Module Level 1 " name =dcterms.title >
1414 < meta content =text name =dcterms.type >
15- < meta content =2013-09-24 name =dcterms.date >
15+ < meta content =2013-09-27 name =dcterms.date >
1616 < meta content ="Vincent Hardy " name =dcterms.creator >
1717 < meta content ="Rossen Atanassov " name =dcterms.creator >
1818 < meta content ="Alan Stearns " name =dcterms.creator >
5151
5252 < h1 id =css-shapes-module > CSS Shapes Module Level 1</ h1 >
5353
54- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 24 September
54+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 27 September
5555 2013</ h2 >
5656
5757 < dl >
@@ -435,69 +435,72 @@ <h3 id=basic-shapes-from-svg-syntax><span class=secno>3.2. </span>Basic
435435 < h4 id =supported-basic-shapes > < span class =secno > 3.2.1. </ span > Supported
436436 Shapes</ h4 >
437437
438- < p > The following basic shapes are supported.
438+ < p > The following basic shapes are supported. All basic shapes use
439+ functional notation following the rules defined in < a
440+ href ="http://www.w3.org/TR/css3-values/#functional-notation "> CSS Values
441+ and Units</ a > < a href ="#CSS3VAL "
442+ rel =biblioentry > [CSS3VAL]<!--{{CSS3VAL}}--> </ a > .
439443
440444 < dl >
441- < dt > < dfn
442- id =rectangle > rectangle</ dfn > ([<length>|<percentage>][,
443- [<length>|<percentage>]]{3,5})
445+ < dt > < dfn id =rectangle > rectangle</ dfn > () takes either four or six arguments
446+ of <length> or <percentage>
444447
445448 < dd >
446449 < ul >
447- < li > The first four values represent < strong > x, y, width</ strong > and
450+ < li > The first four arguments represent < strong > x, y, width</ strong > and
448451 < strong > height</ strong > of the rectangle. Negative values for width and
449452 height are invalid.
450453
451- < li > The last two optional values represent < strong > rx</ strong > and
454+ < li > The last two optional arguments represent < strong > rx</ strong > and
452455 < strong > ry</ strong > . For rounded rectangles they define the x-axis
453456 radius and y-axis radius of the ellipse used to round off the corners
454457 of the rectangle. Negative values for rx and ry are invalid. See notes
455- below on edge cases for these values .
458+ below on edge cases for these arguments .
456459 </ ul >
457460
458- < dt > < dfn
459- id =inset-rectangle > inset-rectangle</ dfn > ([<length>|<percentage>][,
460- [<length>|<percentage>]]{3,5})
461+ < dt > < dfn id =inset-rectangle > inset-rectangle</ dfn > () takes either four or
462+ six arguments of <length> or <percentage>
461463
462464 < dd >
463465 < ul >
464- < li > The first four values represent the < strong > top, right,
465- bottom</ strong > and < strong > left</ strong > offsets from the content
466- rectangle inward that define the positions of the edges of the inset
467- rectangle. Negative values for any of these insets are invalid.
466+ < li > The first four arguments represent the < strong > top, right,
467+ bottom</ strong > and < strong > left</ strong > offsets from the relevant box
468+ inward that define the positions of the edges of the inset rectangle.
469+ Negative values for any of these insets are invalid.
468470
469- < li > The last two optional values represent < strong > rx</ strong > and
471+ < li > The last two optional arguments represent < strong > rx</ strong > and
470472 < strong > ry</ strong > . For rounded inset rectangles they define the
471473 x-axis radius and y-axis radius of the ellipse used to round off the
472474 corners of the inset rectangle. Negative values for rx and ry are
473- invalid. See notes below on edge cases for these values .
475+ invalid. See notes below on edge cases for these arguments .
474476 </ ul >
475477
476- < dt > < dfn id =circle > circle</ dfn > ([ <length>|<percentage>][,
477- [ <length>|< percentage>]]{2})
478+ < dt > < dfn id =circle > circle</ dfn > () takes three arguments of <length>
479+ or <percentage>
478480
479481 < dd >
480482 < ul >
481- < li > The three values values represent < strong > cx</ strong > ,
483+ < li > The three arguments represent < strong > cx</ strong > ,
482484 < strong > cy</ strong > , and < strong > r</ strong > . They define the x-axis and
483485 y-axis coordinates of the center of the circle and the radius of the
484486 circle. A negative value for r is invalid.
485487 </ ul >
486488
487- < dt > < dfn id =ellipse > ellipse</ dfn > ([ <length>|<percentage>][,
488- [ <length>|< percentage>]]{3})
489+ < dt > < dfn id =ellipse > ellipse</ dfn > () takes four arguments of <length>
490+ or <percentage>
489491
490492 < dd >
491493 < ul >
492- < li > The four values represent < strong > cx</ strong > , < strong > cy </ strong > ,
493- < strong > rx</ strong > , and < strong > ry</ strong > . They define the x-axis
494- and y-axis coordinates of the center of the ellipse and the x-axis and
495- y-axis radius of the ellipse. Negative values for rx and ry are
496- invalid.
494+ < li > The four arguments represent < strong > cx</ strong > ,
495+ < strong > cy </ strong > , < strong > rx</ strong > , and < strong > ry</ strong > . They
496+ define the x-axis and y-axis coordinates of the center of the ellipse
497+ and the x-axis and y-axis radius of the ellipse. Negative values for rx
498+ and ry are invalid.
497499 </ ul >
498500
499- < dt > < dfn
500- id =polygon > polygon</ dfn > ([<fill-rule>,]?[<length>|<percentage>]{2}#)
501+ < dt > < dfn id =polygon > polygon</ dfn > () starts with an optional
502+ <fill-rule> argument, followed by a list of arguments consisting of
503+ <length> or <percentage> pairs.
501504
502505 < dd >
503506 < ul >
@@ -507,7 +510,7 @@ <h4 id=supported-basic-shapes><span class=secno>3.2.1. </span>Supported
507510 property in SVG for details. Possible values are nonzero or evenodd.
508511 Default value when omitted is nonzero.
509512
510- < li > The two length values represent < strong > xi</ strong > and
513+ < li > Each pair argument in the list represents < strong > xi</ strong > and
511514 < strong > yi</ strong > - the < strong > x</ strong > and < strong > y</ strong >
512515 axis coordinates of the i-th vertex of the polygon.
513516 </ ul >
@@ -518,11 +521,11 @@ <h4 id=supported-basic-shapes><span class=secno>3.2.1. </span>Supported
518521 </ dl >
519522
520523 < p > The values for corner radii on rectangle or inset-rectangle are
521- determined implicitly if either the rx or ry values are not specified, or
522- are specified but with invalid values. If neither rx nor ry are properly
523- specified, the values are 0 for both. If only one value is properly
524- specified, that value is used for both. And if the values cause any of the
525- curves to overlap, the solution for < a
524+ determined implicitly if either the rx or ry arguments are not specified,
525+ or are specified but with invalid values. If neither rx nor ry are
526+ properly specified, the values are 0 for both. If only one value is
527+ properly specified, that value is used for both. And if the values cause
528+ any of the curves to overlap, the solution for < a
526529 href ="http://www.w3.org/TR/css3-background/#corner-overlap "> overlapping
527530 curves</ a > from CSS Backgrounds and Borders < a href ="#CSS3BG "
528531 rel =biblioentry > [CSS3BG]<!--{{!CSS3BG}}--> </ a > is used to avoid the
0 commit comments