You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><ahref=#numeric-types><spanclass=secno>4</span> Numeric Data Types</a>
140
140
<ulclass=toc>
141
141
<li><ahref=#integers><spanclass=secno>4.1</span> Integers: the <spanclass=productiondata-link-type=typetitle="<integer>"><integer></span> type</a>
142
-
<li><ahref=#numbers><spanclass=secno>4.2</span> Numbers: the <spanclass=productiondata-link-type=typetitle="<number>"><number></span> type</a>
142
+
<li><ahref=#numbers><spanclass=secno>4.2</span>Real Numbers: the <spanclass=productiondata-link-type=typetitle="<number>"><number></span> type</a>
143
143
<li><ahref=#percentages><spanclass=secno>4.3</span> Percentages: the <spanclass=productiondata-link-type=typetitle="<percentage>"><percentage></span> type</a>
144
144
<li><ahref=#dimensions><spanclass=secno>4.4</span> Numbers with Units: <spandata-link-type=dfntitle=dimensions>dimensions</span></a></ul>
145
145
<li><ahref=#lengths><spanclass=secno>5</span> Distance Units: the <spanclass=productiondata-link-type=typetitle="<length>"><length></span> type</a>
<li><ahref=#other-units><spanclass=secno>6</span> Other Units</a>
152
+
<li><ahref=#other-units><spanclass=secno>6</span> Other Quantities</a>
153
153
<ulclass=toc>
154
-
<li><ahref=#angles><spanclass=secno>6.1</span>Angles: the <spanclass=productiondata-link-type=typetitle="<angle>"><angle></span> type and <spanclass=cssdata-link-type=maybetitle=deg>deg</span>, <spanclass=cssdata-link-type=maybetitle=grad>grad</span>, <spanclass=cssdata-link-type=maybetitle=rad>rad</span>, <spanclass=cssdata-link-type=maybetitle=turn>turn</span> units</a>
155
-
<li><ahref=#time><spanclass=secno>6.2</span>Times: the <spanclass=productiondata-link-type=typetitle="<time>"><time></span> type and <spanclass=cssdata-link-type=maybetitle=s>s</span>, <spanclass=cssdata-link-type=maybetitle=ms>ms</span> units</a>
156
-
<li><ahref=#frequency><spanclass=secno>6.3</span>Frequencies: the <spanclass=productiondata-link-type=typetitle="<frequency>"><frequency></span> type and <spanclass=cssdata-link-type=maybetitle=hz>Hz</span>, <spanclass=cssdata-link-type=maybetitle=khz>kHz</span> units</a>
157
-
<li><ahref=#resolution><spanclass=secno>6.4</span>Resolutions: the <spanclass=productiondata-link-type=typetitle="<resolution>"><resolution></span> type and <spanclass=cssdata-link-type=maybetitle=dpi>dpi</span>, <spanclass=cssdata-link-type=maybetitle=dpcm>dpcm</span>, <spanclass=cssdata-link-type=maybetitle=dppx>dppx</span> units</a></ul>
154
+
<li><ahref=#angles><spanclass=secno>6.1</span>Angle Units: the <spanclass=productiondata-link-type=typetitle="<angle>"><angle></span> type and <spanclass=cssdata-link-type=maybetitle=deg>deg</span>, <spanclass=cssdata-link-type=maybetitle=grad>grad</span>, <spanclass=cssdata-link-type=maybetitle=rad>rad</span>, <spanclass=cssdata-link-type=maybetitle=turn>turn</span> units</a>
155
+
<li><ahref=#time><spanclass=secno>6.2</span>Duration Units: the <spanclass=productiondata-link-type=typetitle="<time>"><time></span> type and <spanclass=cssdata-link-type=maybetitle=s>s</span>, <spanclass=cssdata-link-type=maybetitle=ms>ms</span> units</a>
156
+
<li><ahref=#frequency><spanclass=secno>6.3</span>Frequency Units: the <spanclass=productiondata-link-type=typetitle="<frequency>"><frequency></span> type and <spanclass=cssdata-link-type=maybetitle=hz>Hz</span>, <spanclass=cssdata-link-type=maybetitle=khz>kHz</span> units</a>
157
+
<li><ahref=#resolution><spanclass=secno>6.4</span>Resolution Units: the <spanclass=productiondata-link-type=typetitle="<resolution>"><resolution></span> type and <spanclass=cssdata-link-type=maybetitle=dpi>dpi</span>, <spanclass=cssdata-link-type=maybetitle=dpcm>dpcm</span>, <spanclass=cssdata-link-type=maybetitle=dppx>dppx</span> units</a></ul>
158
158
<li><ahref=#defined-elsewhere><spanclass=secno>7</span> Data Types Defined Elsewhere</a>
159
159
<ulclass=toc>
160
160
<li><ahref=#colors><spanclass=secno>7.1</span> Colors: the <spanclass=productiondata-link-type=typetitle="<color>"><color></span> type</a>
Numbers: the <aclass="production css-code" data-link-type=typehref=#number-valuetitle="<number>"><number></a> type</span><aclass=self-linkhref=#numbers></a></h3>
586
+
Real Numbers: the <aclass="production css-code" data-link-type=typehref=#number-valuetitle="<number>"><number></a> type</span><aclass=self-linkhref=#numbers></a></h3>
587
587
588
588
<p> Number values are denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=number-value><number><aclass=self-linkhref=#number-value></a></dfn>.
589
589
A <dfndata-dfn-type=dfndata-noexport="" id=number>number<aclass=self-linkhref=#number></a></dfn> is either an <aclass="production css-code" data-link-type=typehref=#integer-valuetitle="<integer>"><integer></a>
Numbers with Units: <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a></span><aclass=self-linkhref=#dimensions></a></h3>
614
614
615
+
615
616
<p> A <dfndata-dfn-type=dfndata-noexport="" id=dimension>dimension<aclass=self-linkhref=#dimension></a></dfn> is a <aclass="production css-code" data-link-type=typehref=#number-valuetitle="<number>"><number></a>
616
617
immediately followed by a unit identifier.
617
618
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-dimension-tokentitle="<dimension-token>"><dimension-token></a> production in the Syntax spec.
618
619
Like keywords, unit identifiers are <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-syntax-3/#ascii-case-insensitivetitle="ascii case-insensitive">ASCII case-insensitive</a>.
619
620
621
+
<p>CSS uses <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a> to specify
Angles: the <aclass="production css-code" data-link-type=typehref=#angle-valuetitle="<angle>"><angle></a> type and <aclass=cssdata-link-type=maybehref=#degtitle=deg>deg</a>, <aclass=cssdata-link-type=maybehref=#gradtitle=grad>grad</a>, <aclass=cssdata-link-type=maybehref=#radtitle=rad>rad</a>, <aclass=cssdata-link-type=maybehref=#turntitle=turn>turn</a> units</span><aclass=self-linkhref=#angles></a></h3>
890
+
Angle Units: the <aclass="production css-code" data-link-type=typehref=#angle-valuetitle="<angle>"><angle></a> type and <aclass=cssdata-link-type=maybehref=#degtitle=deg>deg</a>, <aclass=cssdata-link-type=maybehref=#gradtitle=grad>grad</a>, <aclass=cssdata-link-type=maybehref=#radtitle=rad>rad</a>, <aclass=cssdata-link-type=maybehref=#turntitle=turn>turn</a> units</span><aclass=self-linkhref=#angles></a></h3>
883
891
884
892
<p> Angle values are <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a> denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=angle-value><angle><aclass=self-linkhref=#angle-value></a></dfn>.
Times: the <aclass="production css-code" data-link-type=typehref=#time-valuetitle="<time>"><time></a> type and <aclass=cssdata-link-type=maybehref=#stitle=s>s</a>, <aclass=cssdata-link-type=maybehref=#mstitle=ms>ms</a> units</span><aclass=self-linkhref=#time></a></h3>
918
+
Duration Units: the <aclass="production css-code" data-link-type=typehref=#time-valuetitle="<time>"><time></a> type and <aclass=cssdata-link-type=maybehref=#stitle=s>s</a>, <aclass=cssdata-link-type=maybehref=#mstitle=ms>ms</a> units</span><aclass=self-linkhref=#time></a></h3>
911
919
912
920
<p> Time values are <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a> denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=time-value><time><aclass=self-linkhref=#time-value></a></dfn>.
Frequencies: the <aclass="production css-code" data-link-type=typehref=#frequency-valuetitle="<frequency>"><frequency></a> type and <aclass=cssdata-link-type=maybehref=#hztitle=hz>Hz</a>, <aclass=cssdata-link-type=maybehref=#khztitle=khz>kHz</a> units</span><aclass=self-linkhref=#frequency></a></h3>
935
+
Frequency Units: the <aclass="production css-code" data-link-type=typehref=#frequency-valuetitle="<frequency>"><frequency></a> type and <aclass=cssdata-link-type=maybehref=#hztitle=hz>Hz</a>, <aclass=cssdata-link-type=maybehref=#khztitle=khz>kHz</a> units</span><aclass=self-linkhref=#frequency></a></h3>
928
936
929
937
<p> Frequency values are <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a> denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=frequency-value><frequency><aclass=self-linkhref=#frequency-value></a></dfn>.
Resolutions: the <aclass="production css-code" data-link-type=typehref=#resolution-valuetitle="<resolution>"><resolution></a> type and <aclass=cssdata-link-type=maybehref=#dpititle=dpi>dpi</a>, <aclass=cssdata-link-type=maybehref=#dpcmtitle=dpcm>dpcm</a>, <aclass=cssdata-link-type=maybehref=#dppxtitle=dppx>dppx</a> units</span><aclass=self-linkhref=#resolution></a></h3>
951
+
Resolution Units: the <aclass="production css-code" data-link-type=typehref=#resolution-valuetitle="<resolution>"><resolution></a> type and <aclass=cssdata-link-type=maybehref=#dpititle=dpi>dpi</a>, <aclass=cssdata-link-type=maybehref=#dpcmtitle=dpcm>dpcm</a>, <aclass=cssdata-link-type=maybehref=#dppxtitle=dppx>dppx</a> units</span><aclass=self-linkhref=#resolution></a></h3>
944
952
945
953
<p> Resolution units are <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a> denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=resolution-value><resolution><aclass=self-linkhref=#resolution-value></a></dfn>.
0 commit comments