1. simple selectorA simple selector is either a type selector, universal selector, attribute selector, class selector, ID selector, or pseudo-class.
The elements of a document tree that are represented by a selector are the subjects of the selector. A selector consisting of a single sequence of simple selectors represents any element satisfying its requirements. Prepending another sequence of simple selectors and a combinator to a sequence imposes additional matching constraints, so the subjects of a selector are always a subset of the elements represented by the last sequence of simple selectors.
- type selector, universal selector, attribute selector, class selector, ID selector
- pseudo-class
according to the the page of filter writting selectors are assorted into three groups like this :
# Element hiding : en/filters
- Basic rules (=simple selector)
- Attribute selectors (=simple selector)
- Advanced selectors (=combinator)
the the system of classification of selectors in Element hiding is different from that of W3C CSS specification.
I wonder how the system of classification of selectors is categorized in Element hiding? Especially Attribute selectors are being categorized into one category.
and which is first/last-child(pseudo-class) categorized in Element hiding?