Skip to content

Commit 5360d01

Browse files
committed
reorganizing the draft
1 parent c28974a commit 5360d01

1 file changed

Lines changed: 9 additions & 64 deletions

File tree

css3-values/Overview.src.html

Lines changed: 9 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ <h2 class="no-num no-toc" id="status">Status of this document</h2>
7979

8080

8181
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
82+
8283
<!--toc-->
8384

8485
<h2>Dependencies on other modules</h2>
@@ -267,64 +268,8 @@ <h2>Keywords</h2>
267268
such as text-decoration and visibility).</p>
268269

269270

270-
271-
272271
<h2>Generic data types</h2>
273272

274-
<!--
275-
<number>
276-
<integer>
277-
<length>
278-
calc()
279-
<percentage>
280-
<angle>
281-
<time>
282-
<frequencies>
283-
<dpi>
284-
<fraction>
285-
<identifier>
286-
<string>
287-
<color>
288-
289-
<uri>
290-
<image>
291-
<attr>
292-
-->
293-
294-
295-
296-
297-
<!--
298-
<p>At a syntactic level, values in CSS can be split into eight groups:</p>
299-
300-
<ol>
301-
<li>identifers (e.g. "pitch-range: inherit")</li>
302-
<li>numbers (e.g. "orphans: 3")</li>
303-
<li>numbers with unit identifiers (e.g. "border-left: -1.2em")</li>
304-
<li>strings (e.g. "content: 'Figure: '")</li>
305-
<li>functional notations (e.g. "background: url(http://www.example.org/image)")</li>
306-
307-
308-
<li>special cases (e.g. "color: #F00" and "font-family: Helvetica, sans-serif")</li>
309-
<li>non-negative numbers (e.g. "orphans: 3")</li>
310-
<li>non-negative numbers with unit identifiers (e.g. "border-width: 0.2em")</li>
311-
</ol>
312-
313-
314-
315-
<p>Most properties accept values from several of the above types. Some
316-
properties accept space- or comma-separated lists of values. A value
317-
that is composed of several values with spaces or commas between them,
318-
is called a <dfn>compound value</dfn>. A value that is not a compound
319-
value is a <dfn>simple value</dfn>.
320-
321-
322-
323-
<p>Comma-separated lists have optional whitespace before and after the
324-
comma.</p>
325-
-->
326-
327-
328273
<h3>&lt;integer&gt;</h3>
329274

330275
<p>Integer values are denoted by &lt;integer&gt; in the value
@@ -487,15 +432,15 @@ <h5>The 'px' unit</h5>
487432

488433
<h5>The 'rem' unit</h5>
489434

490-
<p>The <dfn title="root em|rem (unit)">'rem'</dfn> unit ('root em') is
435+
<p>The <dfn title="root em|rem (unit)">rem</dfn> unit ("root em") is
491436
relative to the computed value of 'font-size' on the root element.
492437

493438
<p>When specified on the 'font-size' property of the root element, the
494439
''rem'' units refer to the property's <em>initial value</em>.</p>
495440

496441
<h5>The 'vw' unit</h5>
497442

498-
<p>The <dfn title="vw (unit)">'vw'</dfn> unit is relative to
443+
<p>The <dfn title="vw (unit)">vw</dfn> unit is relative to
499444
the viewport's width. The viewport's width is equal to 100
500445
'vw' units.
501446

@@ -697,10 +642,10 @@ <h3>&lt;angle&gt;</h4>
697642

698643
<p>Angle unit identifiers are:</p>
699644
<ul>
700-
<li><dfn title="deg (degrees)">deg:</dfn> degrees</li>
701-
<li><dfn title="grad (grads)">grad:</dfn> grads</li>
702-
<li><dfn title="rad (radians)">rad:</dfn> radians</li>
703-
<li><dfn title="turn">turn:</dfn> turns</li>
645+
<li><dfn title="deg (degrees)">deg</dfn>: degrees</li>
646+
<li><dfn title="grad (grads)">grad</dfn>: grads</li>
647+
<li><dfn title="rad (radians)">rad</dfn>: radians</li>
648+
<li><dfn title="turn">turn</dfn>: turns</li>
704649
</ul>
705650

706651
<p>Angle values should be normalized to the range
@@ -719,8 +664,8 @@ <h3>&lt;time&gt;</h3>
719664
<p>Time unit identifiers are:</p>
720665

721666
<ul>
722-
<li><dfn title="ms (milliseconds)">ms:</dfn> milliseconds</li>
723-
<li><dfn title="s (seconds)">s:</dfn> seconds</li>
667+
<li><dfn title="ms (milliseconds)">ms</dfn>: milliseconds</li>
668+
<li><dfn title="s (seconds)">s</dfn>: seconds</li>
724669
</ul>
725670

726671
<p>Time values are always positive.

0 commit comments

Comments
 (0)