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
The following notes should probably be translated into normative text in the relevant specs,
4935
-
hooking this spec’s terms:
4936
-
4937
-
<p><ul>
4938
-
<li>
4939
-
"<adata-link-type=dfnhref=#parse-a-stylesheet0title="parse a stylesheet">Parse a stylesheet</a>" is intended to be the normal parser entry point,
4940
-
for parsing stylesheets.
4941
-
4942
-
<li>
4943
-
"<adata-link-type=dfnhref=#parse-a-list-of-rules0title="parse a list of rules">Parse a list of rules</a>" is intended for the content of at-rules such as <spanclass=cssdata-link-type=maybetitle=@media>@media</span>.
4944
-
It differs from "<adata-link-type=dfnhref=#parse-a-stylesheet0title="parse a stylesheet">Parse a stylesheet</a>" in the handling of <aclass="production css-code" data-link-type=typehref=#typedef-cdo-tokentitle="<cdo-token>"><CDO-token></a> and <aclass="production css-code" data-link-type=typehref=#typedef-cdc-tokentitle="<cdc-token>"><CDC-token></a>.
4945
-
4946
-
<li>
4947
-
"<adata-link-type=dfnhref=#parse-a-rule0title="parse a rule">Parse a rule</a>" is intended for use by the <code>CSSStyleSheet#insertRule</code> method,
4948
-
and similar functions which might exist,
4949
-
which parse text into a single rule.
4950
-
4951
-
<li>
4952
-
"<adata-link-type=dfnhref=#parse-a-declaration0title="parse a declaration">Parse a declaration</a>" is used in <spanclass=cssdata-link-type=maybetitle=@supports>@supports</span> conditions. <adata-biblio-type=informativedata-link-type=bibliohref=#css3-conditionaltitle=css3-conditional>[CSS3-CONDITIONAL]</a>
4953
-
4954
-
<li>
4955
-
"<adata-link-type=dfnhref=#parse-a-list-of-declarations0title="parse a list of declarations">Parse a list of declarations</a>" is for the contents of a <code>style</code> attribute,
4956
-
which parses text into the contents of a single style rule.
4957
-
4958
-
<li>
4959
-
"<adata-link-type=dfnhref=#parse-a-component-value0title="parse a component value">Parse a component value</a>" is for things that need to consume a single value,
4960
-
like the parsing rules for <aclass=cssdata-link-type=maybehref=http://dev.w3.org/csswg/css-values-3/#attrtitle=attr()>attr()</a>.
4961
-
4962
-
<li>
4963
-
"<adata-link-type=dfnhref=#parse-a-list-of-component-values0title="parse a list of component values">Parse a list of component values</a>" is for the contents of presentational attributes,
4964
-
which parse text into a single declaration’s value,
4965
-
or for parsing a stand-alone selector <adata-biblio-type=informativedata-link-type=bibliohref=#selecttitle=select>[SELECT]</a> or list of Media Queries <adata-biblio-type=informativedata-link-type=bibliohref=#mediaqtitle=mediaq>[MEDIAQ]</a>,
4966
-
as in <ahref=http://www.w3.org/TR/selectors-api/>Selectors API</a>
0 commit comments