|
13 | 13 | <meta content="CSS Exclusions and Shapes Module Level 3" |
14 | 14 | name=dcterms.title> |
15 | 15 | <meta content=text name=dcterms.type> |
16 | | - <meta content=2013-04-16 name=dcterms.date> |
| 16 | + <meta content=2013-04-23 name=dcterms.date> |
17 | 17 | <meta content="Vincent Hardy" name=dcterms.creator> |
18 | 18 | <meta content="Rossen Atanassov" name=dcterms.creator> |
19 | 19 | <meta content="Alan Stearns" name=dcterms.creator> |
|
56 | 56 |
|
57 | 57 | <h1 id=css-exclusions-module>CSS Exclusions and Shapes Module Level 3</h1> |
58 | 58 |
|
59 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 April 2013</h2> |
| 59 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 April 2013</h2> |
60 | 60 |
|
61 | 61 | <dl> |
62 | 62 | <dt>This version: |
63 | 63 |
|
64 | 64 | <dd><a |
65 | 65 | href="http://dev.w3.org/csswg/css3-exclusions/">http://dev.w3.org/csswg/css3-exclusions/</a></dd> |
66 | | - <!--<dd><a href="http://dev.w3.org/csswg/css3-exclusions/">http://www.w3.org/TR/2013/WD-css3-exclusions-20130416/</a></dd>--> |
| 66 | + <!--<dd><a href="http://dev.w3.org/csswg/css3-exclusions/">http://www.w3.org/TR/2013/WD-css3-exclusions-20130423/</a></dd>--> |
67 | 67 |
|
68 | 68 | <dt>Latest version: |
69 | 69 |
|
@@ -1595,6 +1595,23 @@ <h4 id=supported-basic-shapes><span class=secno>4.2.1. </span>Supported |
1595 | 1595 | are invalid. |
1596 | 1596 | </ul> |
1597 | 1597 |
|
| 1598 | + <dt><dfn |
| 1599 | + id=inset-rectangle>inset-rectangle</dfn>([<length>|<percentage>]{4} |
| 1600 | + [ curve [<length>|<percentage>]{1,2} ]? ) |
| 1601 | + |
| 1602 | + <dd> |
| 1603 | + <ul> |
| 1604 | + <li> The four values represent the <strong>top, right, bottom</strong> |
| 1605 | + and <strong>left</strong> insets that define the bounding box of the |
| 1606 | + inset rectangle. Negative values for any of these insets are invalid. |
| 1607 | + |
| 1608 | + <li> The two ‘<code class=property>curve</code>’ values represent |
| 1609 | + <strong> rx</strong> and <strong>ry</strong>. For rounded inset |
| 1610 | + rectangles they define the x-axis radius and y-axis radius of the |
| 1611 | + ellipse used to round off the corners of the inset rectangle. Negative |
| 1612 | + values for rx and ry are invalid. |
| 1613 | + </ul> |
| 1614 | + |
1598 | 1615 | <dt><dfn id=circle>circle</dfn>([<length>|<percentage>]{3}) |
1599 | 1616 |
|
1600 | 1617 | <dd> |
@@ -1713,6 +1730,15 @@ <h4 id=basic-shape-interpolation><span class=secno>4.2.3. |
1713 | 1730 | <li>Interpolate between the two rectangles as above. |
1714 | 1731 | </ul> |
1715 | 1732 |
|
| 1733 | + <li>If one basic shape is an inset-rectangle and the second is of type |
| 1734 | + rectangle, circle or ellipse: |
| 1735 | + <ul> |
| 1736 | + <li>Replace the inset-rectangle with a temporary rectangle of equal |
| 1737 | + dimension. |
| 1738 | + |
| 1739 | + <li>Interpolate between the basic shapes as above. |
| 1740 | + </ul> |
| 1741 | + |
1716 | 1742 | <li>If both basic shapes are of type polygon and if both polygons have the |
1717 | 1743 | same number of vertices: |
1718 | 1744 | <ul> |
@@ -1936,9 +1962,11 @@ <h4 id=shape-outside-property><span class=secno>4.4.1. </span>The ‘<a |
1936 | 1962 |
|
1937 | 1963 | <dd> The shape is computed based on the values of one of ‘<a |
1938 | 1964 | href="#rectangle"><code class=property>rectangle</code></a>’, ‘<a |
1939 | | - href="#circle"><code class=property>circle</code></a>’, ‘<a |
1940 | | - href="#ellipse"><code class=property>ellipse</code></a>’ or ‘<a |
1941 | | - href="#polygon"><code class=property>polygon</code></a>’. |
| 1965 | + href="#inset-rectangle"><code |
| 1966 | + class=property>inset-rectangle</code></a>’, ‘<a href="#circle"><code |
| 1967 | + class=property>circle</code></a>’, ‘<a href="#ellipse"><code |
| 1968 | + class=property>ellipse</code></a>’ or ‘<a href="#polygon"><code |
| 1969 | + class=property>polygon</code></a>’. |
1942 | 1970 | </dl> |
1943 | 1971 |
|
1944 | 1972 | <dl> |
@@ -2075,9 +2103,11 @@ <h4 id=shape-inside-property><span class=secno>4.4.2. </span>The ‘<a |
2075 | 2103 |
|
2076 | 2104 | <dd> The shape is computed based on the values of one of ‘<a |
2077 | 2105 | href="#rectangle"><code class=property>rectangle</code></a>’, ‘<a |
2078 | | - href="#circle"><code class=property>circle</code></a>’, ‘<a |
2079 | | - href="#ellipse"><code class=property>ellipse</code></a>’ or ‘<a |
2080 | | - href="#polygon"><code class=property>polygon</code></a>’. |
| 2106 | + href="#inset-rectangle"><code |
| 2107 | + class=property>inset-rectangle</code></a>’, ‘<a href="#circle"><code |
| 2108 | + class=property>circle</code></a>’, ‘<a href="#ellipse"><code |
| 2109 | + class=property>ellipse</code></a>’ or ‘<a href="#polygon"><code |
| 2110 | + class=property>polygon</code></a>’. |
2081 | 2111 | </dl> |
2082 | 2112 |
|
2083 | 2113 | <dl> |
@@ -2658,6 +2688,9 @@ <h2 class=no-num id=index>Index</h2> |
2658 | 2688 | <li>Float area, <a href="#float-area" |
2659 | 2689 | title="section 2."><strong>2.</strong></a> |
2660 | 2690 |
|
| 2691 | + <li>inset-rectangle, <a href="#inset-rectangle" |
| 2692 | + title="section 4.2.1."><strong>4.2.1.</strong></a> |
| 2693 | + |
2661 | 2694 | <li>outside-inside, <a href="#outside-and-inside" |
2662 | 2695 | title="section 2."><strong>2.</strong></a> |
2663 | 2696 |
|
@@ -2917,6 +2950,8 @@ <h3 class=no-num id=since-may-3rd-2012>Since <a |
2917 | 2950 | 2012</a></h3> |
2918 | 2951 |
|
2919 | 2952 | <ul> |
| 2953 | + <li>added inset-rectangle() to basic shapes |
| 2954 | + |
2920 | 2955 | <li>Changed shape-inside overflow diagrams to show exclusion behavior |
2921 | 2956 |
|
2922 | 2957 | <li>Changed shape-inside to contribute to the wrapping context |
|
0 commit comments