Skip to content

Commit a1adafc

Browse files
committed
[css-shapes] add two clauses to serialization
1 parent 990b9f2 commit a1adafc

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

css-shapes/Overview.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</p>
6464
<h1 class="p-name no-ref" id=title>CSS Shapes Module Level 1</h1>
6565
<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=20140116>16 January 2014</span></span></span></h2>
66+
<span class=dt-updated><span class=value-title title=20140121>21 January 2014</span></span></span></h2>
6767
<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>
6868
<dt>Feedback:</dt>
6969
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-shapes%5D%20feedback">www-style@w3.org</a>
@@ -601,7 +601,14 @@ <h3 class="heading settled heading" data-level=3.2 id=basic-shape-computed-value
601601
<h3 class="heading settled heading" data-level=3.3 id=basic-shape-serialization><span class=secno>3.3 </span><span class=content>
602602
Serialization of Basic Shapes</span><a class=self-link href=#basic-shape-serialization></a></h3>
603603

604-
<p> To serialize the <a class="production css-code" data-link-type=type href=#typedef-basic-shape title="<basic-shape>">&lt;basic-shape&gt;</a> functions, serialize as per their individual grammars, in the order the grammars are written in, omitting components when possible without changing the meaning, joining space-separated tokens with a single space, and following each serialized comma with a single space.
604+
<p> To serialize the <a class="production css-code" data-link-type=type href=#typedef-basic-shape title="<basic-shape>">&lt;basic-shape&gt;</a> functions,
605+
serialize as per their individual grammars,
606+
in the order the grammars are written in,
607+
avoiding calc() expressions where possible,
608+
using keywords where possible,
609+
omitting components when possible without changing the meaning,
610+
joining space-separated tokens with a single space,
611+
and following each serialized comma with a single space.
605612

606613
<h3 class="heading settled heading" data-level=3.4 id=basic-shape-interpolation><span class=secno>3.4 </span><span class=content>
607614
Interpolation of Basic Shapes</span><a class=self-link href=#basic-shape-interpolation></a></h3>

css-shapes/Overview.src.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,14 @@ <h3 id='basic-shape-computed-values'>
480480
<h3 id='basic-shape-serialization'>
481481
Serialization of Basic Shapes</h3>
482482

483-
To serialize the <<basic-shape>> functions, serialize as per their individual grammars, in the order the grammars are written in, omitting components when possible without changing the meaning, joining space-separated tokens with a single space, and following each serialized comma with a single space.
483+
To serialize the <<basic-shape>> functions,
484+
serialize as per their individual grammars,
485+
in the order the grammars are written in,
486+
avoiding calc() expressions where possible,
487+
using keywords where possible,
488+
omitting components when possible without changing the meaning,
489+
joining space-separated tokens with a single space,
490+
and following each serialized comma with a single space.
484491

485492
<h3 id='basic-shape-interpolation'>
486493
Interpolation of Basic Shapes</h3>

0 commit comments

Comments
 (0)