63
63
</ p >
64
64
< h1 class ="p-name no-ref " id =title > CSS Shapes Module Level 1</ h1 >
65
65
< h2 class ="no-num no-toc no-ref heading settled heading " id =subtitle > < span class =content > Editor’s Draft,
66
- < span class =dt-updated > < span class =value-title title =20131111 > 11 November 2013</ span > </ span > </ span > </ h2 >
66
+ < span class =dt-updated > < span class =value-title title =20131114 > 14 November 2013</ span > </ span > </ span > </ h2 >
67
67
< div data-fill-with =spec-metadata > < dl > < dt > This version:< dd > < a class =u-url href =http://dev.w3.org/csswg/css-shapes/ > http://dev.w3.org/csswg/css-shapes/</ a > < dt > Latest version:< dd > < a href =http://www.w3.org/TR/css-shapes/ > http://www.w3.org/TR/css-shapes/</ a > < dt > Editor’s Draft:< dd > < a href =http://dev.w3.org/csswg/css-shapes/ > http://dev.w3.org/csswg/css-shapes/</ a >
68
68
< dt > Feedback:</ dt >
69
69
< dd > < a href ="mailto:www-style@w3.org?subject=%5Bcss-shapes%5D%20feedback "> www-style@w3.org</ a >
@@ -244,7 +244,7 @@ <h2 class="heading settled heading" data-level=2 id=relation-to-box-model-and-fl
244
244
A reduced < a data-link-type =dfn href =#float-area title ="float area "> float area</ a > may have no effect
245
245
on some line boxes
246
246
that would normally be affected by the float.
247
- An empty < a data-link -type =dfn href = # float-area title =" float area " > float area</ a >
247
+ An < dfn data-dfn -type =dfn data-noexport ="" id = empty- float-area> empty float area< a class = self-link href = #empty-float- area> </ a > </ dfn >
248
248
(where the shape encloses no area)
249
249
has no effect on line boxes.
250
250
@@ -318,6 +318,7 @@ <h2 class="heading settled heading" data-level=2 id=relation-to-box-model-and-fl
318
318
319
319
< pre > < code class =css >
320
320
shape-outside: inset(50% 50% 50% 50%);
321
+ shape-outside: inset(150% 150% 0% 0%);
321
322
</ code >
322
323
</ pre > </ div >
323
324
@@ -422,15 +423,21 @@ <h3 class="heading settled heading" data-level=3.1 id=supported-basic-shapes><sp
422
423
of the < a class =property data-link-type =propdesc href =http://www.w3.org/TR/CSS21/box.html#propdef-margin title =margin > margin</ a > shorthand,
423
424
that let you set all four insets
424
425
with one, two or four values.
425
- Negative values for any
426
- of these insets are invalid.
427
426
</ li >
428
427
< li >
429
428
The optional < a class =production data-link-type =propdesc href =http://dev.w3.org/csswg/css-backgrounds-4/#border-radius title =border-radius > <‘border-radius’></ a > argument(s)
430
429
define rounded corners for the inset rectangle
431
430
using the < a class =property data-link-type =propdesc href =http://dev.w3.org/csswg/css-backgrounds-4/#border-radius title =border-radius > border-radius</ a > shorthand syntax.
432
431
</ li >
433
432
</ ul >
433
+
434
+ < p > A pair of insets in either dimension
435
+ that add up to more than the used dimension
436
+ (such as left and right insets of 75% apiece)
437
+ define a shape enclosing no area.
438
+ For this specification,
439
+ this results in an < a data-link-type =dfn href =#empty-float-area title ="empty float area "> empty float area</ a > .
440
+
434
441
</ dd >
435
442
< dt > < dfn class =css-code data-dfn-type =function data-export ="" id =funcdef-circle title =circle() > circle()< a class =self-link href =#funcdef-circle > </ a > </ dfn > =
436
443
circle( [< a class ="production css-code " data-link-type =type href =#typedef-shape-radius title ="<shape-radius> "> <shape-radius></ a > ] [at < a class ="production css-code " data-link-type =type href =http://dev.w3.org/csswg/css-values-3/#position-value title ="<position> "> <position></ a > ]? | at < a class ="production css-code " data-link-type =type href =http://dev.w3.org/csswg/css-values-3/#position-value title ="<position> "> <position></ a > )
@@ -445,7 +452,8 @@ <h3 class="heading settled heading" data-level=3.1 id=supported-basic-shapes><sp
445
452
is resolved from the used width and height
446
453
of the < a data-link-type =dfn href =#reference-box title ="reference box "> reference box</ a > as < br >
447
454
< code > sqrt((< em > width</ em > )**2 +
448
- (< em > height</ em > )**2))/sqrt(2)</ code >
455
+ (< em > height</ em > )**2))/sqrt(2)</ code > .
456
+ Negative values are invalid.
449
457
</ li >
450
458
< li >
451
459
The position argument defines
@@ -455,16 +463,17 @@ <h3 class="heading settled heading" data-level=3.1 id=supported-basic-shapes><sp
455
463
</ ul >
456
464
</ dd >
457
465
< dt > < dfn class =css-code data-dfn-type =function data-export ="" id =funcdef-ellipse title =ellipse() > ellipse()< a class =self-link href =#funcdef-ellipse > </ a > </ dfn > =
458
- ellipse( [< a class ="production css-code " data-link-type =type href =#typedef-shape-radius title ="<shape-radius> "> <shape-radius></ a > {1, 2}] [at < a class ="production css-code " data-link-type =type href =http://dev.w3.org/csswg/css-values-3/#position-value title ="<position> "> <position></ a > ]? | at < a class ="production css-code " data-link-type =type href =http://dev.w3.org/csswg/css-values-3/#position-value title ="<position> "> <position></ a > )
466
+ ellipse( [< a class ="production css-code " data-link-type =type href =#typedef-shape-radius title ="<shape-radius> "> <shape-radius></ a > {2}] [at < a class ="production css-code " data-link-type =type href =http://dev.w3.org/csswg/css-values-3/#position-value title ="<position> "> <position></ a > ]? | at < a class ="production css-code " data-link-type =type href =http://dev.w3.org/csswg/css-values-3/#position-value title ="<position> "> <position></ a > )
459
467
</ dt >
460
468
< dd >
461
469
< ul >
462
470
< li >
463
- The shape-radius argument represent
471
+ The shape-radius arguments represent
464
472
< strong > rx</ strong > , and
465
473
< strong > ry</ strong > ,
466
474
the x-axis and y-axis radii
467
475
of the ellipse.
476
+ Negative values for either radius are invalid.
468
477
</ li >
469
478
< li >
470
479
The position argument defines
@@ -504,10 +513,7 @@ <h3 class="heading settled heading" data-level=3.1 id=supported-basic-shapes><sp
504
513
polygons with less than three vertices
505
514
(or with three or more vertices
506
515
arranged to enclose no area)
507
- result in an empty < a data-link-type =dfn href =#float-area title ="float area "> float area</ a > ,
508
- which allows inline content
509
- to flow through all
510
- of the float’s box.
516
+ result in an < a data-link-type =dfn href =#empty-float-area title ="empty float area "> empty float area</ a > .
511
517
</ dd >
512
518
</ dl >
513
519
@@ -872,6 +878,7 @@ <h2 class="no-num heading settled heading" id=change-log><span class=content>
872
878
< h3 class ="no-num heading settled heading " id =20130620 > < span class =content >
873
879
Since < a href =http://www.w3.org/TR/2013/WD-css-shapes-1-20130620/ > June 20th 2013</ a > </ span > < a class =self-link href =#20130620 > </ a > </ h3 >
874
880
< ul >
881
+ < li > Allow negative insets, disallow negative radii</ li >
875
882
< li > Changed relevant to reference</ li >
876
883
< li > Remove box-sizing dependency, add relevant box keywords</ li >
877
884
< li > Changed circle() and ellipse() to use radial gradient syntax</ li >
@@ -1059,6 +1066,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
1059
1066
</ ul > < li > <box>, < a href =#valuedef-box title ="section 5.1 "> 5.1</ a >
1060
1067
< li > circle(), < a href =#funcdef-circle title ="section 3.1 "> 3.1</ a >
1061
1068
< li > ellipse(), < a href =#funcdef-ellipse title ="section 3.1 "> 3.1</ a >
1069
+ < li > empty float area, < a href =#empty-float-area title ="section 2 "> 2</ a >
1062
1070
< li > <fill-rule>, < a href =#typedef-fill-rule title ="section 3.1 "> 3.1</ a >
1063
1071
< li > Float area, < a href =#float-area title ="section 1.3 "> 1.3</ a >
1064
1072
< li > <image>, < a href =#valuedef-image title ="section 5.1 "> 5.1</ a >
0 commit comments