12
12
rel =dcterms.rights >
13
13
< meta content ="CSS Shapes Module Level 2 " name =dcterms.title >
14
14
< meta content =text name =dcterms.type >
15
- < meta content =2013-10-01 name =dcterms.date >
15
+ < meta content =2013-11-11 name =dcterms.date >
16
16
< meta content ="Alan Stearns " name =dcterms.creator >
17
17
< meta content =W3C name =dcterms.publisher >
18
18
< meta content ="http://dev.w3.org/csswg/www-style/ " name =dcterms.identifier > <!--<script src='http://test.csswg.org/harness/annotate.js#css-shapes_DEV' type='text/javascript' defer></script>-->
46
46
47
47
< h1 id =css-shapes-module > CSS Shapes Module Level 2</ h1 >
48
48
49
- < h2 class ="no-num no-toc " id = longstatus-date > Editor's Draft 1 October 2013</ h2 >
49
+ < h2 class ="no-num no-toc "> Editor's Draft 11 November 2013</ h2 >
50
50
51
51
< dl >
52
52
< dt > This version:
@@ -109,7 +109,7 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
109
109
110
110
< p > This draft contains the features of CSS relating to wrapping content
111
111
around and inside shapes. It (implicitly for now) includes and extends the
112
- functionality of CSS Shapes Level 1 < a href ="#CSS-SHAPES "
112
+ functionality of CSS Shapes Level 1 < a href ="#ref- CSS-SHAPES "
113
113
rel =biblioentry > [CSS-SHAPES]<!--{{CSS-SHAPES}}--> </ a > . The main points of
114
114
extension compared to level 1 include additional ways of defining shapes,
115
115
defining an exclusion area using a shape, and restricting an element's
@@ -277,7 +277,26 @@ <h3 id=basic-shapes-from-svg-syntax><span class=secno>3.1. </span>Basic
277
277
278
278
< p > Add the final < a
279
279
href ="http://www.w3.org/TR/css-shapes/#basic-shapes-from-svg-syntax "> level
280
- 1</ a > section with a possible addition of path().
280
+ 1</ a > section with a possible addition of path() and a rejiggered
281
+ rectangle().
282
+
283
+ < dl >
284
+ < dt > < dfn id =rectangle > rectangle()</ dfn > = rectangle( << shape-arg > > {4} [
285
+ round <<‘< code class =property > border-radius</ code > ’> > ]? )
286
+ </ shape-arg >
287
+
288
+ < dd >
289
+ < ul >
290
+ < li > The first four arguments represent < strong > x, y, width</ strong > and
291
+ < strong > height</ strong > of the rectangle. Negative values for width and
292
+ height are invalid.
293
+
294
+ < li > The optional <<‘< code
295
+ class =property > border-radius</ code > ’> > argument(s) define rounded
296
+ corners for the rectangle using the ‘< code
297
+ class =property > border-radius</ code > ’ shorthand syntax.
298
+ </ ul >
299
+ </ dl >
281
300
282
301
< div class ="issue-marker wrapper ">
283
302
< div class =issue-marker data-bug_id =16448 data-bug_status =ASSIGNED > < a
@@ -638,7 +657,7 @@ <h3 class=no-ref id=conventions> Document conventions</h3>
638
657
639
658
< p > All of the text of this specification is normative except sections
640
659
explicitly marked as non-normative, examples, and notes. < a
641
- href ="#RFC2119 " rel =biblioentry > [RFC2119]<!--{{!RFC2119}}--> </ a >
660
+ href ="#ref- RFC2119 " rel =biblioentry > [RFC2119]<!--{{!RFC2119}}--> </ a >
642
661
643
662
< p > Examples in this specification are introduced with the words “for
644
663
example” or are set apart from the normative text with
@@ -760,7 +779,7 @@ <h3 class=no-num id=normative-references>Normative references</h3>
760
779
< dd style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
761
780
<!---->
762
781
763
- < dt id =RFC2119 > [RFC2119]
782
+ < dt id =ref- RFC2119> [RFC2119]
764
783
765
784
< dd > S. Bradner. < a href ="http://www.ietf.org/rfc/rfc2119.txt "> < cite > Key
766
785
words for use in RFCs to Indicate Requirement Levels.</ cite > </ a > Internet
@@ -779,7 +798,7 @@ <h3 class=no-num id=other-references>Other references</h3>
779
798
< dd style ="display: none "> <!-- keeps the doc valid if the DL is empty -->
780
799
<!---->
781
800
782
- < dt id =CSS-SHAPES > [CSS-SHAPES]
801
+ < dt id =ref- CSS-SHAPES> [CSS-SHAPES]
783
802
784
803
< dd > Vincent Hardy; Rossen Atanassov; Alan Stearns. < a
785
804
href ="http://www.w3.org/TR/2013/WD-css-shapes-1-20130620/ "> < cite > CSS
@@ -807,6 +826,9 @@ <h2 class=no-num id=index>Index</h2>
807
826
< li > Float area, < a href ="#float-area "
808
827
title ="section 2. "> < strong > 2.</ strong > </ a >
809
828
829
+ < li > rectangle(), < a href ="#rectangle "
830
+ title ="section 3.1. "> < strong > 3.1.</ strong > </ a >
831
+
810
832
< li > renderer, < a href ="#renderer "
811
833
title ="section 4. "> < strong > 4.</ strong > </ a >
812
834
0 commit comments