Skip to content

Commit 6b3ba0c

Browse files
committed
x
1 parent 5360d01 commit 6b3ba0c

1 file changed

Lines changed: 11 additions & 62 deletions

File tree

css3-values/Overview.html

Lines changed: 11 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -514,54 +514,6 @@ <h2 id=keywords><span class=secno>5 </span>Keywords</h2>
514514
text-decoration and visibility).
515515

516516
<h2 id=generic-data-types><span class=secno>6 </span>Generic data types</h2>
517-
<!--
518-
<number>
519-
<integer>
520-
<length>
521-
calc()
522-
<percentage>
523-
<angle>
524-
<time>
525-
<frequencies>
526-
<dpi>
527-
<fraction>
528-
<identifier>
529-
<string>
530-
<color>
531-
532-
<uri>
533-
<image>
534-
<attr>
535-
-->
536-
<!--
537-
<p>At a syntactic level, values in CSS can be split into eight groups:</p>
538-
539-
<ol>
540-
<li>identifers (e.g. "pitch-range: inherit")</li>
541-
<li>numbers (e.g. "orphans: 3")</li>
542-
<li>numbers with unit identifiers (e.g. "border-left: -1.2em")</li>
543-
<li>strings (e.g. "content: &lsquo;<code class=css>Figure: </code>&rsquo;")</li>
544-
<li>functional notations (e.g. "background: url(http://www.example.org/image)")</li>
545-
546-
547-
<li>special cases (e.g. "color: #F00" and "font-family: Helvetica, sans-serif")</li>
548-
<li>non-negative numbers (e.g. "orphans: 3")</li>
549-
<li>non-negative numbers with unit identifiers (e.g. "border-width: 0.2em")</li>
550-
</ol>
551-
552-
553-
554-
<p>Most properties accept values from several of the above types. Some
555-
properties accept space- or comma-separated lists of values. A value
556-
that is composed of several values with spaces or commas between them,
557-
is called a <dfn>compound value</dfn>. A value that is not a compound
558-
value is a <dfn>simple value</dfn>.
559-
560-
561-
562-
<p>Comma-separated lists have optional whitespace before and after the
563-
comma.</p>
564-
-->
565517

566518
<h3 id=ltintegergt><span class=secno>6.1 </span>&lt;integer&gt;</h3>
567519

@@ -802,11 +754,9 @@ <h5 id=the-px-unit><span class=secno>6.3.2.3. </span>The &lsquo;<code
802754
<h5 id=the-rem-unit><span class=secno>6.3.2.4. </span>The &lsquo;<code
803755
class=property>rem</code>&rsquo; unit</h5>
804756

805-
<p>The <dfn id=rem title="root em|rem (unit)">&lsquo;<code
806-
class=property>rem</code>&rsquo;</dfn> unit (&lsquo;<code class=css><a
807-
href="#rem">root em</a></code>&rsquo;) is relative to the computed value
808-
of &lsquo;<code class=property>font-size</code>&rsquo; on the root
809-
element.
757+
<p>The <dfn id=rem title="root em|rem (unit)">rem</dfn> unit ("root em") is
758+
relative to the computed value of &lsquo;<code
759+
class=property>font-size</code>&rsquo; on the root element.
810760

811761
<p>When specified on the &lsquo;<code
812762
class=property>font-size</code>&rsquo; property of the root element, the
@@ -816,9 +766,8 @@ <h5 id=the-rem-unit><span class=secno>6.3.2.4. </span>The &lsquo;<code
816766
<h5 id=the-vw-unit><span class=secno>6.3.2.5. </span>The &lsquo;<code
817767
class=property>vw</code>&rsquo; unit</h5>
818768

819-
<p>The <dfn id=vw title="vw (unit)">&lsquo;<code
820-
class=property>vw</code>&rsquo;</dfn> unit is relative to the viewport's
821-
width. The viewport's width is equal to 100 &lsquo;<code
769+
<p>The <dfn id=vw title="vw (unit)">vw</dfn> unit is relative to the
770+
viewport's width. The viewport's width is equal to 100 &lsquo;<code
822771
class=property>vw</code>&rsquo; units.
823772

824773
<div class=example>
@@ -1026,13 +975,13 @@ <h3 id=ltanglegt-><span class=secno>6.7 </span>&lt;angle&gt;</h3>
1026975
<p>Angle unit identifiers are:
1027976

1028977
<ul>
1029-
<li><dfn id=deg title="deg (degrees)">deg:</dfn> degrees
978+
<li><dfn id=deg title="deg (degrees)">deg</dfn>: degrees
1030979

1031-
<li><dfn id=grad title="grad (grads)">grad:</dfn> grads
980+
<li><dfn id=grad title="grad (grads)">grad</dfn>: grads
1032981

1033-
<li><dfn id=rad title="rad (radians)">rad:</dfn> radians
982+
<li><dfn id=rad title="rad (radians)">rad</dfn>: radians
1034983

1035-
<li><dfn id=turn title=turn>turn:</dfn> turns
984+
<li><dfn id=turn title=turn>turn</dfn>: turns
1036985
</ul>
1037986

1038987
<p>Angle values should be normalized to the range 0-360deg by the user
@@ -1052,9 +1001,9 @@ <h3 id=lttimegt><span class=secno>6.8 </span>&lt;time&gt;</h3>
10521001
<p>Time unit identifiers are:
10531002

10541003
<ul>
1055-
<li><dfn id=ms title="ms (milliseconds)">ms:</dfn> milliseconds
1004+
<li><dfn id=ms title="ms (milliseconds)">ms</dfn>: milliseconds
10561005

1057-
<li><dfn id=s title="s (seconds)">s:</dfn> seconds
1006+
<li><dfn id=s title="s (seconds)">s</dfn>: seconds
10581007
</ul>
10591008

10601009
<p>Time values are always positive.

0 commit comments

Comments
 (0)