Skip to content

Commit 042a393

Browse files
committed
[css-shapes] fix polygon example syntax
1 parent 7de89a3 commit 042a393

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

css-shapes/Overview.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
rel=dcterms.rights>
1313
<meta content="CSS Shapes Module Level 1" name=dcterms.title>
1414
<meta content=text name=dcterms.type>
15-
<meta content=2013-06-20 name=dcterms.date>
15+
<meta content=2013-06-22 name=dcterms.date>
1616
<meta content="Vincent Hardy" name=dcterms.creator>
1717
<meta content="Rossen Atanassov" name=dcterms.creator>
1818
<meta content="Alan Stearns" name=dcterms.creator>
@@ -55,14 +55,14 @@
5555

5656
<h1 id=css-shapes-module>CSS Shapes Module Level 1</h1>
5757

58-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 20 June 2013</h2>
58+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 June 2013</h2>
5959

6060
<dl>
6161
<dt>This version:
6262

6363
<dd><a
6464
href="http://dev.w3.org/csswg/css-shapes/">http://dev.w3.org/csswg/css-shapes/</a></dd>
65-
<!--<dd><a href="http://dev.w3.org/csswg/css-shapes/">http://www.w3.org/TR/2013/WD-css-shapes-20130620/</a></dd>-->
65+
<!--<dd><a href="http://dev.w3.org/csswg/css-shapes/">http://www.w3.org/TR/2013/WD-css-shapes-20130622/</a></dd>-->
6666

6767
<dt>Latest version:
6868

@@ -316,14 +316,14 @@ <h3 id=relation-to-box-model-and-float-behavior><span class=secno>3.1.
316316

317317
&lt;style type="text/css"&gt;
318318
#float-left {
319-
shape-outside: polygon(0,0 100%,100% 0,100%);
319+
shape-outside: polygon(0 0, 100% 100%, 0 100%);
320320
float: left;
321321
width: 40%;
322322
height: 12ex;
323323
}
324324

325325
#float-right {
326-
shape-outside: polygon(100%,0 100%,100% 0,100%);
326+
shape-outside: polygon(100% 0, 100% 100%, 0 100%);
327327
float: right;
328328
width: 40%;
329329
height: 12ex;
@@ -340,7 +340,7 @@ <h3 id=relation-to-box-model-and-float-behavior><span class=secno>3.1.
340340
<p>
341341

342342
<pre><code class=html>
343-
shape-outside: polygon(0,0 500%,500% 0,500%);
343+
shape-outside: polygon(0 0, 500% 500%, 0 500%);
344344
</code></pre>
345345
</div>
346346

css-shapes/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ <h3 id="relation-to-box-model-and-float-behavior">Relation to the box model and
203203

204204
&lt;style type="text/css"&gt;
205205
#float-left {
206-
shape-outside: polygon(0,0 100%,100% 0,100%);
206+
shape-outside: polygon(0 0, 100% 100%, 0 100%);
207207
float: left;
208208
width: 40%;
209209
height: 12ex;
210210
}
211211

212212
#float-right {
213-
shape-outside: polygon(100%,0 100%,100% 0,100%);
213+
shape-outside: polygon(100% 0, 100% 100%, 0 100%);
214214
float: right;
215215
width: 40%;
216216
height: 12ex;
@@ -228,7 +228,7 @@ <h3 id="relation-to-box-model-and-float-behavior">Relation to the box model and
228228
would result in the same rendering.
229229
<p>
230230
<pre><code class="html">
231-
shape-outside: polygon(0,0 500%,500% 0,500%);
231+
shape-outside: polygon(0 0, 500% 500%, 0 500%);
232232
</code></pre>
233233
</div>
234234

0 commit comments

Comments
 (0)