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> An <dfndata-dfn-type=dfndata-export="" id=attribute-node-pseudo-element>attribute node pseudo-element<aclass=self-linkhref=#attribute-node-pseudo-element></a></dfn> represents an attribute node in a document tree.
153
+
<p> An <dfndata-dfn-type=dfndata-export="" id=attribute-node-selector0>attribute node selector<aclass=self-linkhref=#attribute-node-selector0></a></dfn> represents an attribute node in a document tree.
<p> Where <dfnclass=css-codedata-dfn-type=typedata-export="" id=typedef-qualified-name><qualified-name><aclass=self-linkhref=#typedef-qualified-name></a></dfn> is a <adata-link-spec=css-namespacesdata-link-type=dfnhref=http://dev.w3.org/csswg/css-namespaces-1/#css-qualified-nametitle="css qualified name">CSS qualified name</a>.
158
158
159
-
<p> The pseudo-element matches an attribute node with the given qualified name,
159
+
<p> The selector uses <adata-link-spec=selectorsdata-link-type=dfnhref=http://dev.w3.org/csswg/selectors-4/#pseudo-elementtitle=pseudo-element>pseudo-element</a> syntax.
160
+
161
+
<p> The selector matches an attribute node with the given qualified name,
160
162
if such an attribute exists on the <adata-link-spec=selectorsdata-link-type=dfnhref=http://dev.w3.org/csswg/selectors-4/#originating-elementtitle="originating element">originating element</a>.
161
163
162
164
<divclass=example>
163
-
The following ITS rules use an attribute node selector to switch off translatability of <code>title</code> attributes on <code>abbr</code> elements.
165
+
For example,
166
+
the selector <spanclass=cssdata-link-type=maybetitle=::attr(title)>::attr(title)</span> selects all the <code>title</code> attributes in the document.
0 commit comments