Skip to content

Commit 09c68de

Browse files
committed
[selectors] Remove lingering references to 'feature' and 'feature selector'.
1 parent be44320 commit 09c68de

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

selectors/Overview.bs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -705,26 +705,25 @@ Guidance on Mapping Document Languages to DOM</h4>
705705
element/neighbors in graph-based structures--
706706
should be reflected as the child nodes of an element.
707707

708-
Other features of the element should be reflected as <a>features</a> when possible,
709-
mapping to something that serves a similar purpose to the same feature in DOM:
708+
Other features of the element should be mapped to something that serves a similar purpose to the same feature in DOM:
710709

711710
<dl>
712711
<dt>type
713712
<dd>
714713
If the elements in the document language have some notion of "type"
715714
as a basic distinguisher between different groups of elements,
716-
it should be reflected as the "type" <a>feature</a>.
715+
it should be reflected as the "type" feature.
717716

718717
If this "type" can be separated into a "basic" name
719718
and a "namespace" that groups names into higher-level groups,
720-
the latter should be reflected as the "namespace" <a>feature</a>.
721-
Otherwise, the element shouldn't have a "namespace" <a>feature</a>,
722-
and the entire name should be reflected as the "type" <a>feature</a>.
719+
the latter should be reflected as the "namespace" feature.
720+
Otherwise, the element shouldn't have a "namespace" feature,
721+
and the entire name should be reflected as the "type" feature.
723722

724723
<dt>id
725724
<dd>
726725
If some aspect of the element functions as a unique identifier across the document,
727-
it should be mapped to the "id" <a>feature</a>.
726+
it should be mapped to the "id" feature.
728727

729728
Note: While HTML only allows an element to have a single ID,
730729
this should not be taken as a general restriction.
@@ -735,7 +734,7 @@ Guidance on Mapping Document Languages to DOM</h4>
735734
<dd>
736735
Aspects of the element that are useful for identifying the element,
737736
but are not generally unique to elements within a document,
738-
should be mapped to the "class" or "attribute" <a>features</a>
737+
should be mapped to the "class" or "attribute" features
739738
depending on if they're something equivalent to a "label" (a string by itself)
740739
or a "property" (a name/value pair)
741740

@@ -974,7 +973,7 @@ Pseudo-classes</h3>
974973
</div>
975974

976975
<a>Pseudo-elements</a> are <a>featureless</a>,
977-
and so can't be matched by any <a>feature selector</a>.
976+
and so can't be matched by any other selector.
978977
They also do not affect the interpretation of <a>structural pseudo-classes</a>,
979978
which are evaluated based solely on real elements.
980979
Other <a>pseudo-classes</a> <em>can</em> match <a>pseudo-elements</a>,
@@ -1324,7 +1323,7 @@ Universal selector </h3>
13241323

13251324
Unless an element is <a>featureless</a>,
13261325
the presence of a <a>universal selector</a> has no effect on whether the element matches the selector.
1327-
(<a>Featureless</a> elements do not match any <a>feature</a> selector,
1326+
(<a>Featureless</a> elements do not match any selector,
13281327
including the <a>universal selector</a>.)
13291328

13301329
<div class="example">

0 commit comments

Comments
 (0)