Skip to content

Commit fb9661f

Browse files
committed
[css-exclusions] add shape-padding illustration
1 parent ab464b5 commit fb9661f

3 files changed

Lines changed: 28 additions & 4 deletions

File tree

css3-exclusions/Exclusions.src.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,11 @@ <h4 id="shape-margin-property">The 'shape-margin' property</h4>
16781678

16791679
<div class="example">
16801680
<p>A 'shape-margin' creating an offset
1681-
from a circle shape. </p>
1681+
from a circlular shape-outside.
1682+
The blue rectangles represent
1683+
inline content affected
1684+
by the shape created
1685+
by the margin.</p>
16821686
<img src="images/wrap-margin.png"
16831687
alt="Example of a shape-margin offset"/>
16841688
</div>
@@ -1726,6 +1730,17 @@ <h4 id="shape-padding-property">The 'shape-padding' Property</h4>
17261730
<td>the absolute length</td>
17271731
</tr>
17281732
</table>
1733+
1734+
<div class="example">
1735+
<p>A 'shape-padding' creating an offset
1736+
from a circlular shape-inside.
1737+
The light blue rectangles represent
1738+
inline content affected
1739+
by the shape created
1740+
by the padding.</p>
1741+
<img src="images/shape-padding.png"
1742+
alt="Example of a shape-padding offset"/>
1743+
</div>
17291744
<!-- End section "shape-padding property" -->
17301745

17311746
<div class="note">Note that the 'shape-padding' property only affects layout of content inside

css3-exclusions/Overview.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040

4141
<h1 id=css-exclusions-module>CSS Exclusions and Shapes Module Level 3</h1>
4242

43-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 August 2012</h2>
43+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 August 2012</h2>
4444

4545
<dl>
4646
<dt>This version:
4747

4848
<dd><a
4949
href="http://dev.w3.org/csswg/css3-exclusions/">http://dev.w3.org/csswg/css3-exclusions/</a></dd>
50-
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css3-exclusions-20120828/">http://www.w3.org/TR/2012/WD-css3-exclusions-20120828/</a></dd>-->
50+
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css3-exclusions-20120830/">http://www.w3.org/TR/2012/WD-css3-exclusions-20120830/</a></dd>-->
5151

5252
<dt>Latest version:
5353

@@ -2176,7 +2176,8 @@ <h4 id=shape-margin-property><span class=secno>4.4.4. </span>The ‘<a
21762176
<div class=example>
21772177
<p>A ‘<a href="#shape-margin"><code
21782178
class=property>shape-margin</code></a>’ creating an offset from a
2179-
circle shape.</p>
2179+
circlular shape-outside. The blue rectangles represent inline content
2180+
affected by the shape created by the margin.</p>
21802181
<img alt="Example of a shape-margin offset" src="images/wrap-margin.png"></div>
21812182
<!-- End secion "shape-margin property" -->
21822183

@@ -2232,6 +2233,14 @@ <h4 id=shape-padding-property><span class=secno>4.4.5. </span>The ‘<a
22322233

22332234
<td>the absolute length
22342235
</table>
2236+
2237+
<div class=example>
2238+
<p>A ‘<a href="#shape-padding"><code
2239+
class=property>shape-padding</code></a>’ creating an offset from a
2240+
circlular shape-inside. The light blue rectangles represent inline
2241+
content affected by the shape created by the padding.</p>
2242+
<img alt="Example of a shape-padding offset"
2243+
src="images/shape-padding.png"></div>
22352244
<!-- End section "shape-padding property" -->
22362245

22372246
<div class=note>Note that the ‘<a href="#shape-padding"><code
18.9 KB
Loading

0 commit comments

Comments
 (0)