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> "<code>color: blue;</code>" is a declaration specifying that,
242
241
for the elements that match the selector,
243
242
their <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-color-3/#color0title=color>color</a> property should have the value <spanclass=cssdata-link-type=maybetitle=blue>blue</span>.
244
-
Similiarly, their <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-text-decor-3/#text-decorationtitle=text-decoration>text-decoration</a> property should have the value <spanclass=cssdata-link-type=maybetitle=underline>underline</span>.
243
+
Similarly, their <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-text-decor-3/#text-decorationtitle=text-decoration>text-decoration</a> property should have the value <spanclass=cssdata-link-type=maybetitle=underline>underline</span>.
245
244
</div>
246
245
247
246
<p> At-rules are all different, but they have a basic structure in common.
<pclass=note> Note: This is expected to move to a future version of <adata-biblio-type=informativedata-link-type=bibliohref=#css3cascadetitle=css3cascade>[CSS3CASCADE]</a>.
<p> For stylesheets referred to by an <ahref=http://www.w3.org/TR/xml-stylesheet/#the-xml-stylesheet-processing-instruction><code>xml-stylesheet</code></a> processing instruction <adata-biblio-type=normativedata-link-type=bibliohref=#xmlstyletitle=xmlstyle>[XMLSTYLE]</a>,
548
-
the <adata-link-type=dfnhref=#environment-encoding0title="environment encoding">environment encoding</a> is determined as follows:
549
-
550
-
<p><ul>
551
-
<li>
552
-
<ahref=http://encoding.spec.whatwg.org/#concept-encoding-get>Get an encoding</a><adata-biblio-type=normativedata-link-type=bibliohref=#encodingtitle=encoding>[ENCODING]</a>
553
-
for the value of the <code>charset</code><ahref=http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute>pseudo-attribute</a> of the processing instruction, if any.
554
-
If that does not return failure,
555
-
use the return value as the environment encoding.
556
-
557
-
<li>
558
-
Otherwise, use the encoding of the referring document.
559
-
</ul>
560
-
561
-
<pclass=note> Note: This is expected to move to <adata-biblio-type=informativedata-link-type=bibliohref=#cssomtitle=cssom>[CSSOM]</a>.
<divdata-fill-with=normative-references><dl><dtid=css21title=CSS21><aclass=self-linkhref=#css21></a>[CSS21]<dd>Bert Bos; et al. <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dtid=css3cascadetitle=CSS3CASCADE><aclass=self-linkhref=#css3cascade></a>[CSS3CASCADE]<dd>Håkon Wium Lie; Elika J. Etemad; Tab Atkins Jr.. <ahref=http://www.w3.org/TR/2013/CR-css-cascade-3-20131003/>CSS Cascading and Inheritance Level 3</a>. 3 October 2013. W3C Candidate Recommendation. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/CR-css-cascade-3-20131003/>http://www.w3.org/TR/2013/CR-css-cascade-3-20131003/</a><dtid=encodingtitle=ENCODING><aclass=self-linkhref=#encoding></a>[ENCODING]<dd>Anne van Kesteren; Joshua Bell. <ahref=http://encoding.spec.whatwg.org/>Encoding</a>. Living Standard. URL: <ahref=http://encoding.spec.whatwg.org/>http://encoding.spec.whatwg.org/</a><dtid=rfc2119title=RFC2119><aclass=self-linkhref=#rfc2119></a>[RFC2119]<dd>S. Bradner. <ahref=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <ahref=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dtid=selecttitle=SELECT><aclass=self-linkhref=#select></a>[SELECT]<dd>Tantek Çelik; et al. <ahref=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a><dtid=unicodetitle=UNICODE><aclass=self-linkhref=#unicode></a>[UNICODE]<dd>The Unicode Consortium. <ahref=http://www.unicode.org/standard/versions/enumeratedversions.html>The Unicode Standard</a>. 2012. Defined by: The Unicode Standard, Version 6.2.0 (Mountain View, CA: The Unicode Consortium, 2012. ISBN 978-1-936213-07-8), as updated from time to time by the publication of new versions URL: <ahref=http://www.unicode.org/standard/versions/enumeratedversions.html>http://www.unicode.org/standard/versions/enumeratedversions.html</a><dtid=xmlstyletitle=XMLSTYLE><aclass=self-linkhref=#xmlstyle></a>[XMLSTYLE]<dd>James Clark. <ahref=http://www.w3.org/1999/06/REC-xml-stylesheet-19990629>Associating Style Sheets with XML documents</a>. 29 June 1999. W3C Recommendation. URL: <ahref=http://www.w3.org/1999/06/REC-xml-stylesheet-19990629>http://www.w3.org/1999/06/REC-xml-stylesheet-19990629</a></dl></div>
4995
+
<divdata-fill-with=normative-references><dl><dtid=css21title=CSS21><aclass=self-linkhref=#css21></a>[CSS21]<dd>Bert Bos; et al. <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dtid=css3cascadetitle=CSS3CASCADE><aclass=self-linkhref=#css3cascade></a>[CSS3CASCADE]<dd>Håkon Wium Lie; Elika J. Etemad; Tab Atkins Jr.. <ahref=http://www.w3.org/TR/2013/CR-css-cascade-3-20131003/>CSS Cascading and Inheritance Level 3</a>. 3 October 2013. W3C Candidate Recommendation. (Work in progress.) URL: <ahref=http://www.w3.org/TR/2013/CR-css-cascade-3-20131003/>http://www.w3.org/TR/2013/CR-css-cascade-3-20131003/</a><dtid=encodingtitle=ENCODING><aclass=self-linkhref=#encoding></a>[ENCODING]<dd>Anne van Kesteren; Joshua Bell. <ahref=http://encoding.spec.whatwg.org/>Encoding</a>. Living Standard. URL: <ahref=http://encoding.spec.whatwg.org/>http://encoding.spec.whatwg.org/</a><dtid=rfc2119title=RFC2119><aclass=self-linkhref=#rfc2119></a>[RFC2119]<dd>S. Bradner. <ahref=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <ahref=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dtid=selecttitle=SELECT><aclass=self-linkhref=#select></a>[SELECT]<dd>Tantek Çelik; et al. <ahref=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <ahref=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a><dtid=unicodetitle=UNICODE><aclass=self-linkhref=#unicode></a>[UNICODE]<dd>The Unicode Consortium. <ahref=http://www.unicode.org/standard/versions/enumeratedversions.html>The Unicode Standard</a>. 2012. Defined by: The Unicode Standard, Version 6.2.0 (Mountain View, CA: The Unicode Consortium, 2012. ISBN 978-1-936213-07-8), as updated from time to time by the publication of new versions URL: <ahref=http://www.unicode.org/standard/versions/enumeratedversions.html>http://www.unicode.org/standard/versions/enumeratedversions.html</a></dl></div>
Note: This is expected to move to a future version of [[CSS3CASCADE]].
382
384
383
-
<h4id="environment-encoding-xml">
384
-
XML</h4>
385
-
386
-
For stylesheets referred to by an <ahref=http://www.w3.org/TR/xml-stylesheet/#the-xml-stylesheet-processing-instruction><code>xml-stylesheet</code></a> processing instruction [[!XMLSTYLE]],
387
-
the <a>environment encoding</a> is determined as follows:
388
-
389
-
<ul>
390
-
<li>
391
-
<ahref="http://encoding.spec.whatwg.org/#concept-encoding-get">Get an encoding</a> [[!ENCODING]]
392
-
for the value of the <code>charset</code><ahref=http://www.w3.org/TR/xml-stylesheet/#dt-pseudo-attribute>pseudo-attribute</a> of the processing instruction, if any.
393
-
If that does not return failure,
394
-
use the return value as the environment encoding.
395
-
396
-
<li>
397
-
Otherwise, use the encoding of the referring document.
0 commit comments