Skip to content

Commit c10f436

Browse files
committed
[css-shapes] change inset-rectangle() to inset()
1 parent a430a7a commit c10f436

2 files changed

Lines changed: 16 additions & 12 deletions

File tree

css-shapes/Overview.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</a></p>
2222
<h1 class="p-name no-ref" id=title>CSS Shapes Module Level 1</h1>
2323
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
24-
<span class=dt-updated><span class=value-title title=20131010>10 October 2013</span></span></span></h2>
24+
<span class=dt-updated><span class=value-title title=20131017>17 October 2013</span></span></span></h2>
2525
<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>
2626
<dt>Feedback:</dt>
2727
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-shapes%5D%20feedback">www-style@w3.org</a>
@@ -378,10 +378,11 @@ <h3 class="heading settled heading" data-level=3.1 id=supported-basic-shapes><sp
378378
</li>
379379
</ul>
380380
</dd>
381-
<dt><dfn class=css-code data-dfn-type=function data-export="" id=funcdef-inset-rectangle title=inset-rectangle()>inset-rectangle()<a class=self-link href=#funcdef-inset-rectangle></a></dfn> =
382-
inset-rectangle( <a class="production css-code" data-link-type=type href=#typedef-shape-arg title="<shape-arg>">&lt;shape-arg&gt;</a>{1,4} [ round &lt;<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-4/#border-radius title=border-radius>border-radius</a>&gt; ]? )
381+
<dt><dfn class=css-code data-dfn-type=function data-export="" id=funcdef-inset title=inset()>inset()<a class=self-link href=#funcdef-inset></a></dfn> =
382+
inset( <a class="production css-code" data-link-type=type href=#typedef-shape-arg title="<shape-arg>">&lt;shape-arg&gt;</a>{1,4} [ round &lt;<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-4/#border-radius title=border-radius>border-radius</a>&gt; ]? )
383383
</dt>
384384
<dd>
385+
Defines an inset rectangle.
385386
<ul>
386387
<li>
387388
The first four arguments represent the
@@ -531,11 +532,11 @@ <h3 class="heading settled heading" data-level=3.2 id=basic-shape-interpolation>
531532
</ul>
532533
</li>
533534
<li>
534-
If one basic shape is an inset-rectangle
535+
If one basic shape is an inset rectangle
535536
and the second is of type rectangle, circle or ellipse:
536537
<ul>
537538
<li>
538-
Replace the inset-rectangle with
539+
Replace the inset rectangle with
539540
a temporary rectangle of equal dimension.
540541
</li>
541542
<li>
@@ -663,7 +664,7 @@ <h3 class="heading settled heading" data-level=5.1 id=shape-outside-property><sp
663664
<dt><dfn class=css-code data-dfn-for=shape-outside data-dfn-type=value data-export="" id=valuedef-basic-shape><a class="production css-code" data-link-type=type href=#typedef-basic-shape title="<basic-shape>">&lt;basic-shape&gt;</a><a class=self-link href=#valuedef-basic-shape></a></dfn></dt>
664665
<dd>
665666
The shape is computed based on the values of one
666-
of <a class=css data-link-type=maybe href=#funcdef-rectangle title=rectangle()>rectangle()</a>, <a class=css data-link-type=maybe href=#funcdef-inset-rectangle title=inset-rectangle()>inset-rectangle()</a>, <a class=css data-link-type=maybe href=#funcdef-circle title=circle()>circle()</a>, <a class=css data-link-type=maybe href=#funcdef-ellipse title=ellipse()>ellipse()</a>
667+
of <a class=css data-link-type=maybe href=#funcdef-rectangle title=rectangle()>rectangle()</a>, <a class=css data-link-type=maybe href=#funcdef-inset title=inset()>inset()</a>, <a class=css data-link-type=maybe href=#funcdef-circle title=circle()>circle()</a>, <a class=css data-link-type=maybe href=#funcdef-ellipse title=ellipse()>ellipse()</a>
667668
or <a class=css data-link-type=maybe href=#funcdef-polygon title=polygon()>polygon()</a>.
668669
</dd>
669670

@@ -828,6 +829,7 @@ <h2 class="no-num heading settled heading" id=change-log><span class=content>
828829
<h3 class="no-num heading settled heading" id=20130620><span class=content>
829830
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>
830831
<ul>
832+
<li>Change inset-rectangle() to inset()</li>
831833
<li>Much basic shape syntax bikeshedding</li>
832834
<li>Use Concrete Object Size Resolution from CSS3-IMAGES in shape from image</li>
833835
<li>Future-proof shape-image-threshold to possibly apply to luminance</li>
@@ -1011,7 +1013,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
10111013
<li>&lt;fill-rule&gt;, <a href=#typedef-fill-rule title="section 3.1">3.1</a>
10121014
<li>Float area, <a href=#float-area title="section 1.3">1.3</a>
10131015
<li>&lt;image&gt;, <a href=#valuedef-image title="section 5.1">5.1</a>
1014-
<li>inset-rectangle(), <a href=#funcdef-inset-rectangle title="section 3.1">3.1</a>
1016+
<li>inset(), <a href=#funcdef-inset title="section 3.1">3.1</a>
10151017
<li>&lt;length&gt;, <a href=#valuedef-length title="section 5.3">5.3</a>
10161018
<li>&lt;number&gt;, <a href=#valuedef-number title="section 5.2">5.2</a>
10171019
<li>&lt;percentage&gt;, <a href=#valuedef-percentage title="section 5.3">5.3</a>

css-shapes/Overview.src.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,11 @@ <h3 id="supported-basic-shapes">
303303
</li>
304304
</ul>
305305
</dd>
306-
<dt><dfn>inset-rectangle()</dfn> =
307-
inset-rectangle( <<shape-arg>>{1,4} [ round <'border-radius'> ]? )
306+
<dt><dfn>inset()</dfn> =
307+
inset( <<shape-arg>>{1,4} [ round <'border-radius'> ]? )
308308
</dt>
309309
<dd>
310+
Defines an inset rectangle.
310311
<ul>
311312
<li>
312313
The first four arguments represent the
@@ -456,11 +457,11 @@ <h3 id='basic-shape-interpolation'>
456457
</ul>
457458
</li>
458459
<li>
459-
If one basic shape is an inset-rectangle
460+
If one basic shape is an inset rectangle
460461
and the second is of type rectangle, circle or ellipse:
461462
<ul>
462463
<li>
463-
Replace the inset-rectangle with
464+
Replace the inset rectangle with
464465
a temporary rectangle of equal dimension.
465466
</li>
466467
<li>
@@ -599,7 +600,7 @@ <h3 id="shape-outside-property">
599600
<dt><dfn><<basic-shape>></dfn></dt>
600601
<dd>
601602
The shape is computed based on the values of one
602-
of ''rectangle()'', ''inset-rectangle()'', ''circle()'', ''ellipse()''
603+
of ''rectangle()'', ''inset()'', ''circle()'', ''ellipse()''
603604
or ''polygon()''.
604605
</dd>
605606

@@ -787,6 +788,7 @@ <h2 class="no-num" id="change-log">
787788
<h3 class="no-num" id="20130620">
788789
Since <a href="http://www.w3.org/TR/2013/WD-css-shapes-1-20130620/">June 20th 2013</a></h3>
789790
<ul>
791+
<li>Change inset-rectangle() to inset()</li>
790792
<li>Much basic shape syntax bikeshedding</li>
791793
<li>Use Concrete Object Size Resolution from CSS3-IMAGES in shape from image</li>
792794
<li>Future-proof shape-image-threshold to possibly apply to luminance</li>

0 commit comments

Comments
 (0)