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
<p><dfndata-dfn-type=dfndata-export="" id=stringtitle=string>Strings<aclass=self-linkhref=#string></a></dfn> are denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=string-value><string><aclass=self-linkhref=#string-value></a></dfn>
472
472
and consist of a sequence of characters delimited by double quotes or
473
-
single quotes. They correspond to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-string-tokentitle="<string-token>"><string-token></a> production in the Syntax spec.
473
+
single quotes. They correspond to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-string-tokentitle="<string-token>"><string-token></a> production
474
+
in the <ahref=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3syntitle=css3syn>[CSS3SYN]</a>.
<p> A <dfndata-dfn-type=dfndata-noexport="" id=url>URL<aclass=self-linkhref=#url></a></dfn> is a pointer to a resource
509
510
and is a <adata-link-spec=css-syntaxdata-link-type=dfnhref=http://dev.w3.org/csswg/css-syntax-3/#consume-a-url-token0title="consume a url token">specially-parsed</a><ahref=#functional-notation>functional notation</a>
510
511
denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=url-value><url><aclass=self-linkhref=#url-value></a></dfn>.
511
-
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-url-tokentitle="<url-token>"><url-token></a> production in the Syntax spec.
512
+
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-url-tokentitle="<url-token>"><url-token></a> production
513
+
in the <ahref=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3syntitle=css3syn>[CSS3SYN]</a>.
512
514
513
515
<divclass=example>
514
516
Below is an example of a URL being used as a background image:
<p> Integer values are denoted by <dfnclass=css-codedata-dfn-type=typedata-export="" id=integer-value><integer><aclass=self-linkhref=#integer-value></a></dfn>.
580
582
An <dfndata-dfn-type=dfndata-noexport="" id=integer>integer<aclass=self-linkhref=#integer></a></dfn> is one or more decimal digits <spanclass=cssdata-link-type=maybetitle=0>0</span> through <spanclass=cssdata-link-type=maybetitle=9>9</span>
581
-
and corresponds to a subset of the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-tokentitle="<number-token>"><number-token></a> production in the Syntax spec.
583
+
and corresponds to a subset of the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-tokentitle="<number-token>"><number-token></a> production
584
+
in the <ahref=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3syntitle=css3syn>[CSS3SYN]</a>.
582
585
The first digit of an integer may be immediately preceded by <spanclass=cssdata-link-type=maybetitle=->-</span> or <spanclass=cssdata-link-type=maybetitle=+>+</span>
<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
592
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>
590
593
or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits.
591
-
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-tokentitle="<number-token>"><number-token></a> production in the Syntax spec.
594
+
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-number-tokentitle="<number-token>"><number-token></a> production
595
+
in the <ahref=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3syntitle=css3syn>[CSS3SYN]</a>.
592
596
As with integers, the first character of a number may be immediately preceded by <spanclass=cssdata-link-type=maybetitle=->-</span> or <spanclass=cssdata-link-type=maybetitle=+>+</span>
and consists of a <aclass="production css-code" data-link-type=typehref=#number-valuetitle="<number>"><number></a>
601
605
immediately followed by a percent sign <spanclass=cssdata-link-type=maybetitle=%>%</span>.
602
-
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-percentage-tokentitle="<percentage-token>"><percentage-token></a> production in the Syntax spec.
606
+
It corresponds to the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-syntax-3/#typedef-percentage-tokentitle="<percentage-token>"><percentage-token></a> production
607
+
in the <ahref=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3syntitle=css3syn>[CSS3SYN]</a>.
603
608
604
609
<p> Percentage values are always relative to another value,
<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>
617
622
immediately followed by a unit identifier.
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.
623
+
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
624
+
in the <ahref=http://www.w3.org/TR/css-syntax/>CSS Syntax Module</a><adata-biblio-type=normativedata-link-type=bibliohref=#css3syntitle=css3syn>[CSS3SYN]</a>.
619
625
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>.
620
626
621
627
<p>CSS uses <adata-link-type=dfnhref=#dimensiontitle=dimensions>dimensions</a> to specify
0 commit comments