|
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=20140304>4 March 2014</span></span></span></h2> |
| 66 | + <span class=dt-updated><span class=value-title title=20140305>5 March 2014</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> |
@@ -296,35 +296,38 @@ <h2 class="heading settled heading" data-level=2 id=relation-to-box-model-and-fl |
296 | 296 | using the <a class=property data-link-type=propdesc href=#propdef-shape-outside title=shape-outside>shape-outside</a> property. |
297 | 297 |
|
298 | 298 | <pre><code class=css> |
299 | | - <div style="text-align:center;"> |
300 | | - <div id="float-left"></div> |
301 | | - <div id="float-right"></div> |
302 | | - <div> |
303 | | - Sometimes a web page’s text content appears to be |
304 | | - funneling your attention towards a spot on the page |
305 | | - to drive you to follow a particular link. Sometimes |
306 | | - you don’t notice. |
307 | | - </div> |
308 | | - </div> |
| 299 | + <img class="left" src="hand.svg"></img> |
| 300 | + <img class="right" src="hand.svg"></img> |
| 301 | + <p> |
| 302 | + Sometimes a web page’s text content appears to be |
| 303 | + funneling your attention towards a spot on the page |
| 304 | + to drive you to follow a particular link. Sometimes |
| 305 | + you don’t notice. |
| 306 | + </p> |
309 | 307 |
|
310 | 308 | <style type="text/css"> |
311 | | - #float-left { |
| 309 | + .left { |
312 | 310 | shape-outside: polygon(0 0, 100% 100%, 0 100%); |
313 | 311 | float: left; |
314 | 312 | width: 40%; |
315 | 313 | height: 12ex; |
| 314 | + transform: scaleX(-1); |
316 | 315 | } |
317 | 316 |
|
318 | | - #float-right { |
| 317 | + .right { |
319 | 318 | shape-outside: polygon(100% 0, 100% 100%, 0 100%); |
320 | 319 | float: right; |
321 | 320 | width: 40%; |
322 | 321 | height: 12ex; |
323 | 322 | } |
| 323 | + |
| 324 | + p { |
| 325 | + text-align: center; |
| 326 | + } |
324 | 327 | </style> |
325 | 328 | </code> |
326 | 329 | </pre> |
327 | | -<p> <img alt="Using the shape-outside property with a float" class=singleImgExample src=images/float-shape-outside.png> |
| 330 | +<p> <img alt="Using the shape-outside property with floats" class=singleImgExample src=images/hand-funnel.png> |
328 | 331 | </div> |
329 | 332 |
|
330 | 333 | <div class=example> |
@@ -1126,6 +1129,7 @@ <h2 class="no-num heading settled heading" id=change-log><span class=content> |
1126 | 1129 | <h3 class="no-num heading settled heading" id=20140211><span class=content> |
1127 | 1130 | Since <a href=http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/>February 11th 2014</a></span><a class=self-link href=#20140211></a></h3> |
1128 | 1131 | <ul> |
| 1132 | + <li>Replaced divs with images in the first example</li> |
1129 | 1133 | <li>Add 0px to last serialization example</li> |
1130 | 1134 | </ul> |
1131 | 1135 |
|
|
0 commit comments