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> No whitespace is allowed between the tokens of <aclass="production css-code" data-link-type=typehref=#typedef-namespace-attrtitle="<namespace-attr>"><namespace-attr></a>.
160
162
161
163
<p><aclass="production css-code" data-link-type=typehref=#typedef-namespace-attrtitle="<namespace-attr>"><namespace-attr></a> is divided into two halves:
162
164
an optional prefix preceding a '|' character,
163
165
and an attribute name following it.
164
166
165
-
<p> If the prefix is provided as an <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#ltidenttitle="<ident>"><ident></a>,
167
+
<p> If the <aclass="production css-code" data-link-type=typehref=#typedef-na-prefixtitle="<na-prefix>"><na-prefix></a> is provided as an <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#ltidenttitle="<ident>"><ident></a>,
166
168
it must match a declared <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-namespaces-1/#namespace-prefixtitle="namespace prefix">namespace prefix</a>,
167
169
in which case the selector only matches attributes in that namespace;
168
170
if it doesn’t match a declared <adata-link-type=dfnhref=http://dev.w3.org/csswg/css-namespaces-1/#namespace-prefixtitle="namespace prefix">namespace prefix</a>,
169
171
the selector is invalid.
170
-
If the prefix is provided as a <aclass=propertydata-link-type=propdesctitle=*>*</a> character,
172
+
If the <aclass="production css-code" data-link-type=typehref=#typedef-na-prefixtitle="<na-prefix>"><na-prefix></a> is provided as a <aclass=propertydata-link-type=propdesctitle=*>*</a> character,
171
173
the selector matches attributes in any namespace.
172
-
If the prefix is omitted,
174
+
If the <aclass="production css-code" data-link-type=typehref=#typedef-na-prefixtitle="<na-prefix>"><na-prefix></a> is omitted,
173
175
the selector only matches attributes in no namespace.
174
176
175
-
<p> If the attribute name is an <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#ltidenttitle="<ident>"><ident></a>,
177
+
<p> If the <aclass="production css-code" data-link-type=typehref=#typedef-na-nametitle="<na-name>"><na-name></a> is an <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#ltidenttitle="<ident>"><ident></a>,
176
178
the selector matches attributes with that name.
177
-
If the attribute name is a <aclass=propertydata-link-type=propdesctitle=*>*</a> character,
179
+
If the <aclass="production css-code" data-link-type=typehref=#typedef-na-nametitle="<na-name>"><na-name></a> is a <aclass=propertydata-link-type=propdesctitle=*>*</a> character,
178
180
the selector matches any attribute.
179
181
180
182
<p> If the <aclass="production css-code" data-link-type=typehref=#typedef-namespace-attrtitle="<namespace-attr>"><namespace-attr></a> is omitted entirely,
0 commit comments