|
9 | 9 | { |
10 | 10 | "name": ":is()", |
11 | 11 | "prose": "The matches-any pseudo-class, :is(), is a functional pseudo-class taking a <forgiving-selector-list> as its sole argument.", |
12 | | - "href": "https://www.w3.org/TR/selectors-4/#matches-pseudo", |
13 | | - "value": ":is()" |
| 12 | + "href": "https://www.w3.org/TR/selectors-4/#matches-pseudo" |
14 | 13 | }, |
15 | 14 | { |
16 | 15 | "name": ":matches()", |
17 | 16 | "prose": "As previous drafts of this specification used the name :matches() for this pseudo-class, UAs may additionally implement this obsolete name as a legacy selector alias for :is() if needed for backwards-compatibility.", |
18 | | - "href": "https://www.w3.org/TR/selectors-4/#selectordef-matches", |
19 | | - "value": ":matches()" |
| 17 | + "href": "https://www.w3.org/TR/selectors-4/#selectordef-matches" |
20 | 18 | }, |
21 | 19 | { |
22 | 20 | "name": ":not()", |
23 | 21 | "prose": "The negation pseudo-class, :not(), is a functional pseudo-class taking a selector list as an argument. It represents an element that is not represented by its argument.", |
24 | | - "href": "https://www.w3.org/TR/selectors-4/#negation-pseudo", |
25 | | - "value": ":not()" |
| 22 | + "href": "https://www.w3.org/TR/selectors-4/#negation-pseudo" |
26 | 23 | }, |
27 | 24 | { |
28 | 25 | "name": ":where()", |
29 | 26 | "prose": "The Specificity-adjustment pseudo-class, :where(), is a functional pseudo-class with the same syntax and functionality as :is(). Unlike :is(), neither the :where() pseudo-class, nor any of its arguments, contribute to the specificity of the selector—its specificity is always zero.", |
30 | | - "href": "https://www.w3.org/TR/selectors-4/#where-pseudo", |
31 | | - "value": ":where()" |
| 27 | + "href": "https://www.w3.org/TR/selectors-4/#where-pseudo" |
32 | 28 | }, |
33 | 29 | { |
34 | 30 | "name": ":has()", |
35 | 31 | "prose": "The relational pseudo-class, :has(), is a functional pseudo-class taking a <forgiving-relative-selector-list> as an argument. It represents an element if any of the relative selectors would match at least one element when anchored against this element.", |
36 | | - "href": "https://www.w3.org/TR/selectors-4/#has-pseudo", |
37 | | - "value": ":has()" |
| 32 | + "href": "https://www.w3.org/TR/selectors-4/#has-pseudo" |
38 | 33 | }, |
39 | 34 | { |
40 | 35 | "name": ":defined", |
|
45 | 40 | { |
46 | 41 | "name": ":dir()", |
47 | 42 | "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML5] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].", |
48 | | - "href": "https://www.w3.org/TR/selectors-4/#dir-pseudo", |
49 | | - "value": ":dir()" |
| 43 | + "href": "https://www.w3.org/TR/selectors-4/#dir-pseudo" |
50 | 44 | }, |
51 | 45 | { |
52 | 46 | "name": ":lang()", |
53 | 47 | "prose": "If the document language specifies how the (human) content language of an element is determined, it is possible to write selectors that represent an element based on its content language. The :lang() pseudo-class, which accepts a comma-separated list of one or more language ranges, represents an element whose content language is one of the languages listed in its argument. Each language range in :lang() must be a valid CSS <ident> or <string>. (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\\*-Latn) or :lang(\"*-Latn\").)", |
54 | | - "href": "https://www.w3.org/TR/selectors-4/#lang-pseudo", |
55 | | - "value": ":lang()" |
| 48 | + "href": "https://www.w3.org/TR/selectors-4/#lang-pseudo" |
56 | 49 | }, |
57 | 50 | { |
58 | 51 | "name": ":any-link", |
|
135 | 128 | { |
136 | 129 | "name": ":current()", |
137 | 130 | "prose": "Its alternate form :current(), like :is(), takes a list of compound selectors as its argument: it represents the :current element that matches the argument or, if that does not match, the innermost ancestor of the :current element that does. (If neither the :current element nor its ancestors match the argument, then the selector does not represent anything.)", |
138 | | - "href": "https://www.w3.org/TR/selectors-4/#selectordef-current", |
139 | | - "value": ":current()" |
| 131 | + "href": "https://www.w3.org/TR/selectors-4/#selectordef-current" |
140 | 132 | }, |
141 | 133 | { |
142 | 134 | "name": ":past", |
|
0 commit comments