@webref/css 6.10.4 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CSS.json +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +80 -1
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +272 -0
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +53 -0
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +46 -0
- package/css-fonts.json +205 -0
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +8 -1
- package/css-view-transitions.json +15 -5
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/selectors.json
CHANGED
|
@@ -8,437 +8,538 @@
|
|
|
8
8
|
"selectors": [
|
|
9
9
|
{
|
|
10
10
|
"name": ":is()",
|
|
11
|
-
"prose": "The matches-any pseudo-class, :is(), is a functional pseudo-class taking a <forgiving-selector-list> as its sole argument."
|
|
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://drafts.csswg.org/selectors-4/#matches-pseudo"
|
|
12
13
|
},
|
|
13
14
|
{
|
|
14
15
|
"name": ":matches()",
|
|
15
|
-
"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."
|
|
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.",
|
|
17
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-matches"
|
|
16
18
|
},
|
|
17
19
|
{
|
|
18
20
|
"name": ":not()",
|
|
19
|
-
"prose": "The negation pseudo-class, :not(), is a functional pseudo-class taking a <complex-real-selector-list> as an argument. It represents an element that is not represented by its argument."
|
|
21
|
+
"prose": "The negation pseudo-class, :not(), is a functional pseudo-class taking a <complex-real-selector-list> as an argument. It represents an element that is not represented by its argument.",
|
|
22
|
+
"href": "https://drafts.csswg.org/selectors-4/#negation-pseudo"
|
|
20
23
|
},
|
|
21
24
|
{
|
|
22
25
|
"name": ":where()",
|
|
23
|
-
"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."
|
|
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.",
|
|
27
|
+
"href": "https://drafts.csswg.org/selectors-4/#where-pseudo"
|
|
24
28
|
},
|
|
25
29
|
{
|
|
26
30
|
"name": ":has()",
|
|
27
|
-
"prose": "The relational pseudo-class, :has(), is a functional pseudo-class taking a <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."
|
|
31
|
+
"prose": "The relational pseudo-class, :has(), is a functional pseudo-class taking a <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.",
|
|
32
|
+
"href": "https://drafts.csswg.org/selectors-4/#has-pseudo"
|
|
28
33
|
},
|
|
29
34
|
{
|
|
30
35
|
"name": ":defined",
|
|
31
|
-
"prose": "In some host languages, elements can have a distinction between being “defined”/“constructed” or not. The :defined pseudo-class matches elements that are fully defined, as dictated by the host language."
|
|
36
|
+
"prose": "In some host languages, elements can have a distinction between being “defined”/“constructed” or not. The :defined pseudo-class matches elements that are fully defined, as dictated by the host language.",
|
|
37
|
+
"href": "https://drafts.csswg.org/selectors-4/#defined-pseudo"
|
|
32
38
|
},
|
|
33
39
|
{
|
|
34
40
|
"name": ":dir()",
|
|
35
|
-
"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]."
|
|
41
|
+
"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].",
|
|
42
|
+
"href": "https://drafts.csswg.org/selectors-4/#dir-pseudo"
|
|
36
43
|
},
|
|
37
44
|
{
|
|
38
45
|
"name": ":lang()",
|
|
39
|
-
"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\").)"
|
|
46
|
+
"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\").)",
|
|
47
|
+
"href": "https://drafts.csswg.org/selectors-4/#lang-pseudo"
|
|
40
48
|
},
|
|
41
49
|
{
|
|
42
50
|
"name": ":any-link",
|
|
43
|
-
"prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML5], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited)."
|
|
51
|
+
"prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML5], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
|
|
52
|
+
"href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo"
|
|
44
53
|
},
|
|
45
54
|
{
|
|
46
55
|
"name": ":link",
|
|
47
|
-
"prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:"
|
|
56
|
+
"prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:",
|
|
57
|
+
"href": "https://drafts.csswg.org/selectors-4/#link-pseudo"
|
|
48
58
|
},
|
|
49
59
|
{
|
|
50
60
|
"name": ":visited",
|
|
51
|
-
"prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:"
|
|
61
|
+
"prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:",
|
|
62
|
+
"href": "https://drafts.csswg.org/selectors-4/#visited-pseudo"
|
|
52
63
|
},
|
|
53
64
|
{
|
|
54
65
|
"name": ":local-link",
|
|
55
|
-
"prose": "The :local-link pseudo-class allows authors to style hyperlinks based on the users current location within a site. It represents an element that is the source anchor of a hyperlink whose target’s absolute URL matches the element’s own document URL. If the hyperlink’s target includes a fragment URL, then the fragment URL of the current URL must also match; if it does not, then the fragment URL portion of the current URL is not taken into account in the comparison."
|
|
66
|
+
"prose": "The :local-link pseudo-class allows authors to style hyperlinks based on the users current location within a site. It represents an element that is the source anchor of a hyperlink whose target’s absolute URL matches the element’s own document URL. If the hyperlink’s target includes a fragment URL, then the fragment URL of the current URL must also match; if it does not, then the fragment URL portion of the current URL is not taken into account in the comparison.",
|
|
67
|
+
"href": "https://drafts.csswg.org/selectors-4/#local-link-pseudo"
|
|
56
68
|
},
|
|
57
69
|
{
|
|
58
70
|
"name": ":target",
|
|
59
|
-
"prose": "The :target pseudo-class matches the document’s target elements. If the document’s URL has no fragment identifier, then the document has no target elements."
|
|
71
|
+
"prose": "The :target pseudo-class matches the document’s target elements. If the document’s URL has no fragment identifier, then the document has no target elements.",
|
|
72
|
+
"href": "https://drafts.csswg.org/selectors-4/#target-pseudo"
|
|
60
73
|
},
|
|
61
74
|
{
|
|
62
75
|
"name": ":target-within",
|
|
63
|
-
"prose": "The :target-within pseudo-class applies to any element to which the :target pseudo class applies as well as to any element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :target."
|
|
76
|
+
"prose": "The :target-within pseudo-class applies to any element to which the :target pseudo class applies as well as to any element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :target.",
|
|
77
|
+
"href": "https://drafts.csswg.org/selectors-4/#target-within-pseudo"
|
|
64
78
|
},
|
|
65
79
|
{
|
|
66
80
|
"name": ":scope",
|
|
67
|
-
"prose": "In some contexts, selectors are matched with respect to one or more scoping roots, such as when calling the querySelector() method in [DOM]. The :scope pseudo-class represents this scoping root, and may be either a true element or a virtual one (such as a DocumentFragment)."
|
|
81
|
+
"prose": "In some contexts, selectors are matched with respect to one or more scoping roots, such as when calling the querySelector() method in [DOM]. The :scope pseudo-class represents this scoping root, and may be either a true element or a virtual one (such as a DocumentFragment).",
|
|
82
|
+
"href": "https://drafts.csswg.org/selectors-4/#scope-pseudo"
|
|
68
83
|
},
|
|
69
84
|
{
|
|
70
85
|
"name": ":hover",
|
|
71
|
-
"prose": "The :hover pseudo-class applies while the user designates an element (or pseudo-element) with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element. Interactive user agents that cannot detect hovering due to hardware limitations (e.g., a pen device that does not detect hovering) are still conforming; the selector will simply never match in such a UA."
|
|
86
|
+
"prose": "The :hover pseudo-class applies while the user designates an element (or pseudo-element) with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element. Interactive user agents that cannot detect hovering due to hardware limitations (e.g., a pen device that does not detect hovering) are still conforming; the selector will simply never match in such a UA.",
|
|
87
|
+
"href": "https://drafts.csswg.org/selectors-4/#hover-pseudo"
|
|
72
88
|
},
|
|
73
89
|
{
|
|
74
90
|
"name": ":active",
|
|
75
|
-
"prose": "The :active pseudo-class applies while an element is being “activated” by the user, as defined by the host language; for example, while a hyperlink is being triggered."
|
|
91
|
+
"prose": "The :active pseudo-class applies while an element is being “activated” by the user, as defined by the host language; for example, while a hyperlink is being triggered.",
|
|
92
|
+
"href": "https://drafts.csswg.org/selectors-4/#active-pseudo"
|
|
76
93
|
},
|
|
77
94
|
{
|
|
78
95
|
"name": ":focus",
|
|
79
|
-
"prose": "The :focus pseudo-class applies while an element (or pseudo-element) has the focus (accepts keyboard or other forms of input)."
|
|
96
|
+
"prose": "The :focus pseudo-class applies while an element (or pseudo-element) has the focus (accepts keyboard or other forms of input).",
|
|
97
|
+
"href": "https://drafts.csswg.org/selectors-4/#focus-pseudo"
|
|
80
98
|
},
|
|
81
99
|
{
|
|
82
100
|
"name": ":focus-visible",
|
|
83
|
-
"prose": "While the :focus pseudo-class always matches the currently-focused element, UAs only sometimes visibly indicate focus (such as by drawing a “focus ring”), instead using a variety of heuristics to visibly indicate the focus only when it would be most helpful to the user. The :focus-visible pseudo-class matches a focused element (or pseudo-element) in these situations only, allowing authors to change the appearance of the focus indicator without changing when a focus indicator appears."
|
|
101
|
+
"prose": "While the :focus pseudo-class always matches the currently-focused element, UAs only sometimes visibly indicate focus (such as by drawing a “focus ring”), instead using a variety of heuristics to visibly indicate the focus only when it would be most helpful to the user. The :focus-visible pseudo-class matches a focused element (or pseudo-element) in these situations only, allowing authors to change the appearance of the focus indicator without changing when a focus indicator appears.",
|
|
102
|
+
"href": "https://drafts.csswg.org/selectors-4/#focus-visible-pseudo"
|
|
84
103
|
},
|
|
85
104
|
{
|
|
86
105
|
"name": ":focus-within",
|
|
87
|
-
"prose": "The :focus-within pseudo-class applies to any element (or pseudo-element) for which the :focus pseudo class applies, as well as to an element (or pseudo-element) whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."
|
|
106
|
+
"prose": "The :focus-within pseudo-class applies to any element (or pseudo-element) for which the :focus pseudo class applies, as well as to an element (or pseudo-element) whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus.",
|
|
107
|
+
"href": "https://drafts.csswg.org/selectors-4/#focus-within-pseudo"
|
|
88
108
|
},
|
|
89
109
|
{
|
|
90
110
|
"name": ":current",
|
|
91
|
-
"prose": "The :current pseudo-class represents the element, or an ancestor of the element, that is currently being displayed."
|
|
111
|
+
"prose": "The :current pseudo-class represents the element, or an ancestor of the element, that is currently being displayed.",
|
|
112
|
+
"href": "https://drafts.csswg.org/selectors-4/#current-pseudo"
|
|
92
113
|
},
|
|
93
114
|
{
|
|
94
115
|
"name": ":current()",
|
|
95
|
-
"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.)"
|
|
116
|
+
"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.)",
|
|
117
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-current"
|
|
96
118
|
},
|
|
97
119
|
{
|
|
98
120
|
"name": ":past",
|
|
99
|
-
"prose": "The :past pseudo-class represents any element that is defined to occur entirely prior to a :current element. For example, the WebVTT spec defines the :past pseudo-class relative to the current playback position of a media element. If a time-based order of elements is not defined by the document language, then this represents any element that is a (possibly indirect) previous sibling of a :current element."
|
|
121
|
+
"prose": "The :past pseudo-class represents any element that is defined to occur entirely prior to a :current element. For example, the WebVTT spec defines the :past pseudo-class relative to the current playback position of a media element. If a time-based order of elements is not defined by the document language, then this represents any element that is a (possibly indirect) previous sibling of a :current element.",
|
|
122
|
+
"href": "https://drafts.csswg.org/selectors-4/#past-pseudo"
|
|
100
123
|
},
|
|
101
124
|
{
|
|
102
125
|
"name": ":future",
|
|
103
|
-
"prose": "The :future pseudo-class represents any element that is defined to occur entirely after a :current element. For example, the WebVTT spec defines the :future pseudo-class relative to the current playback position of a media element. If a time-based order of elements is not defined by the document language, then this represents any element that is a (possibly indirect) next sibling of a :current element."
|
|
126
|
+
"prose": "The :future pseudo-class represents any element that is defined to occur entirely after a :current element. For example, the WebVTT spec defines the :future pseudo-class relative to the current playback position of a media element. If a time-based order of elements is not defined by the document language, then this represents any element that is a (possibly indirect) next sibling of a :current element.",
|
|
127
|
+
"href": "https://drafts.csswg.org/selectors-4/#future-pseudo"
|
|
104
128
|
},
|
|
105
129
|
{
|
|
106
130
|
"name": ":playing",
|
|
107
|
-
"prose": "The :playing pseudo-class represents an element that is capable of being “played” or “paused”, when that element is “playing”. (This includes both when the element is explicitly playing, and when it’s temporarily stopped for some reason not connected to user intent, but will automatically resume when that reason is resolved, such as a “buffering” or “stalled” state.)"
|
|
131
|
+
"prose": "The :playing pseudo-class represents an element that is capable of being “played” or “paused”, when that element is “playing”. (This includes both when the element is explicitly playing, and when it’s temporarily stopped for some reason not connected to user intent, but will automatically resume when that reason is resolved, such as a “buffering” or “stalled” state.)",
|
|
132
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-playing"
|
|
108
133
|
},
|
|
109
134
|
{
|
|
110
135
|
"name": ":paused",
|
|
111
|
-
"prose": "The :paused pseudo-class represents an element that is capable of being “played” or “paused”, when that element is “paused” (i.e. not ”playing”). (This includes both an explicit “paused” state, and other non-playing states like “loaded, hasn’t been activated yet”, etc.)"
|
|
136
|
+
"prose": "The :paused pseudo-class represents an element that is capable of being “played” or “paused”, when that element is “paused” (i.e. not ”playing”). (This includes both an explicit “paused” state, and other non-playing states like “loaded, hasn’t been activated yet”, etc.)",
|
|
137
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-paused"
|
|
112
138
|
},
|
|
113
139
|
{
|
|
114
140
|
"name": ":seeking",
|
|
115
|
-
"prose": "The :seeking pseudo-class represents an element that is capable of ”seeking” when that element is ”seeking”. (For the audio and video elements of HTML, see HTML § 4.8.11.9 Seeking.)"
|
|
141
|
+
"prose": "The :seeking pseudo-class represents an element that is capable of ”seeking” when that element is ”seeking”. (For the audio and video elements of HTML, see HTML § 4.8.11.9 Seeking.)",
|
|
142
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-seeking"
|
|
116
143
|
},
|
|
117
144
|
{
|
|
118
145
|
"name": ":buffering",
|
|
119
|
-
"prose": "The :buffering pseudo-class represents an element that is capable of being “played” or “paused”, when that element cannot continue playing because it is actively attempting to obtain media data but has not yet obtained enough data to resume playback. (Note that the element is still considered to be “playing” when it is “buffering”. Whenever :buffering matches an element, :playing also matches the element.)"
|
|
146
|
+
"prose": "The :buffering pseudo-class represents an element that is capable of being “played” or “paused”, when that element cannot continue playing because it is actively attempting to obtain media data but has not yet obtained enough data to resume playback. (Note that the element is still considered to be “playing” when it is “buffering”. Whenever :buffering matches an element, :playing also matches the element.)",
|
|
147
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-buffering"
|
|
120
148
|
},
|
|
121
149
|
{
|
|
122
150
|
"name": ":stalled",
|
|
123
|
-
"prose": "The :stalled pseudo-class represents an element when that element cannot continue playing because it is actively attempting to obtain media data but it has failed to receive any data for some amount of time. For the audio and video elements of HTML, this amount of time is the media element stall timeout. [HTML] (Note that, like with the :buffering pseudo-class, the element is still considered to be “playing” when it is “stalled”. Whenever :stalled matches an element, :playing also matches the element.)"
|
|
151
|
+
"prose": "The :stalled pseudo-class represents an element when that element cannot continue playing because it is actively attempting to obtain media data but it has failed to receive any data for some amount of time. For the audio and video elements of HTML, this amount of time is the media element stall timeout. [HTML] (Note that, like with the :buffering pseudo-class, the element is still considered to be “playing” when it is “stalled”. Whenever :stalled matches an element, :playing also matches the element.)",
|
|
152
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-stalled"
|
|
124
153
|
},
|
|
125
154
|
{
|
|
126
155
|
"name": ":muted",
|
|
127
|
-
"prose": "The :muted pseudo-class represents an element that is capable of making sound, but is currently “muted“ (forced silent). (For the audio and video elements of HTML, see muted. [HTML])"
|
|
156
|
+
"prose": "The :muted pseudo-class represents an element that is capable of making sound, but is currently “muted“ (forced silent). (For the audio and video elements of HTML, see muted. [HTML])",
|
|
157
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-muted"
|
|
128
158
|
},
|
|
129
159
|
{
|
|
130
160
|
"name": ":volume-locked",
|
|
131
|
-
"prose": "The :volume-locked pseudo-class represents an element that is capable of making sound, and currently has its volume \"locked\" by the UA or the user, so the page author cannot change it. (For the audio and video elements of HTML, see the algorithm for setting the element’s effective media volume. [HTML])"
|
|
161
|
+
"prose": "The :volume-locked pseudo-class represents an element that is capable of making sound, and currently has its volume \"locked\" by the UA or the user, so the page author cannot change it. (For the audio and video elements of HTML, see the algorithm for setting the element’s effective media volume. [HTML])",
|
|
162
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-volume-locked"
|
|
132
163
|
},
|
|
133
164
|
{
|
|
134
165
|
"name": ":open",
|
|
135
|
-
"prose": "The :open pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the “open” state."
|
|
166
|
+
"prose": "The :open pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the “open” state.",
|
|
167
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-open"
|
|
136
168
|
},
|
|
137
169
|
{
|
|
138
170
|
"name": ":closed",
|
|
139
|
-
"prose": "The :closed pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the closed state."
|
|
171
|
+
"prose": "The :closed pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the closed state.",
|
|
172
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-closed"
|
|
140
173
|
},
|
|
141
174
|
{
|
|
142
175
|
"name": ":modal",
|
|
143
|
-
"prose": "The :modal pseudo-class represents an element which is in a state that excludes all interaction with elements outside it until it has been dismissed. Multiple elements can be :modal simultaneously, with only one of them active (able to receive input)."
|
|
176
|
+
"prose": "The :modal pseudo-class represents an element which is in a state that excludes all interaction with elements outside it until it has been dismissed. Multiple elements can be :modal simultaneously, with only one of them active (able to receive input).",
|
|
177
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-modal"
|
|
144
178
|
},
|
|
145
179
|
{
|
|
146
180
|
"name": ":fullscreen",
|
|
147
|
-
"prose": "The :fullscreen pseudo-class represents an element which is displayed in a mode that takes up most (usually all) of the screen, such as that defined by the Fullscreen API. [FULLSCREEN]"
|
|
181
|
+
"prose": "The :fullscreen pseudo-class represents an element which is displayed in a mode that takes up most (usually all) of the screen, such as that defined by the Fullscreen API. [FULLSCREEN]",
|
|
182
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-fullscreen"
|
|
148
183
|
},
|
|
149
184
|
{
|
|
150
185
|
"name": ":picture-in-picture",
|
|
151
|
-
"prose": "The :picture-in-picture pseudo-class represents an element which is displayed in a mode that takes up most (usually all) of the viewport, and whose viewport is confined to part of the screen while being displayed over other content, for example when using the Picture-in-Picture API. [picture-in-picture]"
|
|
186
|
+
"prose": "The :picture-in-picture pseudo-class represents an element which is displayed in a mode that takes up most (usually all) of the viewport, and whose viewport is confined to part of the screen while being displayed over other content, for example when using the Picture-in-Picture API. [picture-in-picture]",
|
|
187
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-picture-in-picture"
|
|
152
188
|
},
|
|
153
189
|
{
|
|
154
190
|
"name": ":enabled",
|
|
155
|
-
"prose": "The :enabled pseudo-class represents user interface elements that are in an enabled state; such elements must have a corresponding disabled state."
|
|
191
|
+
"prose": "The :enabled pseudo-class represents user interface elements that are in an enabled state; such elements must have a corresponding disabled state.",
|
|
192
|
+
"href": "https://drafts.csswg.org/selectors-4/#enabled-pseudo"
|
|
156
193
|
},
|
|
157
194
|
{
|
|
158
195
|
"name": ":disabled",
|
|
159
|
-
"prose": "Conversely, the :disabled pseudo-class represents user interface elements that are in a disabled state; such elements must have a corresponding enabled state."
|
|
196
|
+
"prose": "Conversely, the :disabled pseudo-class represents user interface elements that are in a disabled state; such elements must have a corresponding enabled state.",
|
|
197
|
+
"href": "https://drafts.csswg.org/selectors-4/#disabled-pseudo"
|
|
160
198
|
},
|
|
161
199
|
{
|
|
162
200
|
"name": ":read-write",
|
|
163
|
-
"prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only."
|
|
201
|
+
"prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only.",
|
|
202
|
+
"href": "https://drafts.csswg.org/selectors-4/#read-write-pseudo"
|
|
164
203
|
},
|
|
165
204
|
{
|
|
166
205
|
"name": ":read-only",
|
|
167
|
-
"prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only."
|
|
206
|
+
"prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only.",
|
|
207
|
+
"href": "https://drafts.csswg.org/selectors-4/#read-only-pseudo"
|
|
168
208
|
},
|
|
169
209
|
{
|
|
170
210
|
"name": ":placeholder-shown",
|
|
171
|
-
"prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML5]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA."
|
|
211
|
+
"prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML5]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
|
|
212
|
+
"href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo"
|
|
172
213
|
},
|
|
173
214
|
{
|
|
174
215
|
"name": ":autofill",
|
|
175
|
-
"prose": "The :autofill pseudo-class represents input elements that have been automatically filled by the user agent, and have not been subsequently altered by the user."
|
|
216
|
+
"prose": "The :autofill pseudo-class represents input elements that have been automatically filled by the user agent, and have not been subsequently altered by the user.",
|
|
217
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-autofill"
|
|
176
218
|
},
|
|
177
219
|
{
|
|
178
220
|
"name": ":default",
|
|
179
|
-
"prose": "The :default pseudo-class applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons and select lists/menus."
|
|
221
|
+
"prose": "The :default pseudo-class applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons and select lists/menus.",
|
|
222
|
+
"href": "https://drafts.csswg.org/selectors-4/#default-pseudo"
|
|
180
223
|
},
|
|
181
224
|
{
|
|
182
225
|
"name": ":checked",
|
|
183
|
-
"prose": "Radio and checkbox elements can be toggled by the user. Some menu items are “checked” when the user selects them. When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked."
|
|
226
|
+
"prose": "Radio and checkbox elements can be toggled by the user. Some menu items are “checked” when the user selects them. When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked.",
|
|
227
|
+
"href": "https://drafts.csswg.org/selectors-4/#checked-pseudo"
|
|
184
228
|
},
|
|
185
229
|
{
|
|
186
230
|
"name": ":indeterminate",
|
|
187
|
-
"prose": "The :indeterminate pseudo-class applies to UI elements whose value is in an indeterminate state. For example, radio and checkbox elements can be toggled between checked and unchecked states, but are sometimes in an indeterminate state, neither checked nor unchecked. Similarly a progress meter can be in an indeterminate state when the percent completion is unknown. For example, [HTML5] defines how checkboxes can be made to match :indeterminate."
|
|
231
|
+
"prose": "The :indeterminate pseudo-class applies to UI elements whose value is in an indeterminate state. For example, radio and checkbox elements can be toggled between checked and unchecked states, but are sometimes in an indeterminate state, neither checked nor unchecked. Similarly a progress meter can be in an indeterminate state when the percent completion is unknown. For example, [HTML5] defines how checkboxes can be made to match :indeterminate.",
|
|
232
|
+
"href": "https://drafts.csswg.org/selectors-4/#indeterminate-pseudo"
|
|
188
233
|
},
|
|
189
234
|
{
|
|
190
235
|
"name": ":blank",
|
|
191
|
-
"prose": "The :blank pseudo-class applies to user-input elements whose input value is empty (consists of the empty string or otherwise null input)."
|
|
236
|
+
"prose": "The :blank pseudo-class applies to user-input elements whose input value is empty (consists of the empty string or otherwise null input).",
|
|
237
|
+
"href": "https://drafts.csswg.org/selectors-4/#blank-pseudo"
|
|
192
238
|
},
|
|
193
239
|
{
|
|
194
240
|
"name": ":valid",
|
|
195
|
-
"prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid."
|
|
241
|
+
"prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
|
|
242
|
+
"href": "https://drafts.csswg.org/selectors-4/#valid-pseudo"
|
|
196
243
|
},
|
|
197
244
|
{
|
|
198
245
|
"name": ":invalid",
|
|
199
|
-
"prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid."
|
|
246
|
+
"prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
|
|
247
|
+
"href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo"
|
|
200
248
|
},
|
|
201
249
|
{
|
|
202
250
|
"name": ":in-range",
|
|
203
|
-
"prose": "The :in-range and :out-of-range pseudo-classes apply only to elements that have range limitations. An element is :in-range or :out-of-range when the value that the element is bound to is in range or out of range with respect to its range limits as defined by the document language. An element that lacks data range limits or is not a form control is neither :in-range nor :out-of-range. E.g. a slider element with a value of 11 presented as a slider control that only represents the values from 1-10 is :out-of-range. Another example is a menu element with a value of \"E\" that happens to be presented in a popup menu that only has choices \"A\", \"B\" and \"C\"."
|
|
251
|
+
"prose": "The :in-range and :out-of-range pseudo-classes apply only to elements that have range limitations. An element is :in-range or :out-of-range when the value that the element is bound to is in range or out of range with respect to its range limits as defined by the document language. An element that lacks data range limits or is not a form control is neither :in-range nor :out-of-range. E.g. a slider element with a value of 11 presented as a slider control that only represents the values from 1-10 is :out-of-range. Another example is a menu element with a value of \"E\" that happens to be presented in a popup menu that only has choices \"A\", \"B\" and \"C\".",
|
|
252
|
+
"href": "https://drafts.csswg.org/selectors-4/#in-range-pseudo"
|
|
204
253
|
},
|
|
205
254
|
{
|
|
206
255
|
"name": ":out-of-range",
|
|
207
|
-
"prose": "The :in-range and :out-of-range pseudo-classes apply only to elements that have range limitations. An element is :in-range or :out-of-range when the value that the element is bound to is in range or out of range with respect to its range limits as defined by the document language. An element that lacks data range limits or is not a form control is neither :in-range nor :out-of-range. E.g. a slider element with a value of 11 presented as a slider control that only represents the values from 1-10 is :out-of-range. Another example is a menu element with a value of \"E\" that happens to be presented in a popup menu that only has choices \"A\", \"B\" and \"C\"."
|
|
256
|
+
"prose": "The :in-range and :out-of-range pseudo-classes apply only to elements that have range limitations. An element is :in-range or :out-of-range when the value that the element is bound to is in range or out of range with respect to its range limits as defined by the document language. An element that lacks data range limits or is not a form control is neither :in-range nor :out-of-range. E.g. a slider element with a value of 11 presented as a slider control that only represents the values from 1-10 is :out-of-range. Another example is a menu element with a value of \"E\" that happens to be presented in a popup menu that only has choices \"A\", \"B\" and \"C\".",
|
|
257
|
+
"href": "https://drafts.csswg.org/selectors-4/#out-of-range-pseudo"
|
|
208
258
|
},
|
|
209
259
|
{
|
|
210
260
|
"name": ":required",
|
|
211
|
-
"prose": "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to can be validly submitted. Elements that are not form elements are neither required nor optional."
|
|
261
|
+
"prose": "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to can be validly submitted. Elements that are not form elements are neither required nor optional.",
|
|
262
|
+
"href": "https://drafts.csswg.org/selectors-4/#required-pseudo"
|
|
212
263
|
},
|
|
213
264
|
{
|
|
214
265
|
"name": ":optional",
|
|
215
|
-
"prose": "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to can be validly submitted. Elements that are not form elements are neither required nor optional."
|
|
266
|
+
"prose": "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to can be validly submitted. Elements that are not form elements are neither required nor optional.",
|
|
267
|
+
"href": "https://drafts.csswg.org/selectors-4/#optional-pseudo"
|
|
216
268
|
},
|
|
217
269
|
{
|
|
218
270
|
"name": ":user-invalid",
|
|
219
|
-
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it."
|
|
271
|
+
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it.",
|
|
272
|
+
"href": "https://drafts.csswg.org/selectors-4/#user-invalid-pseudo"
|
|
220
273
|
},
|
|
221
274
|
{
|
|
222
275
|
"name": ":user-valid",
|
|
223
|
-
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it."
|
|
276
|
+
"prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it.",
|
|
277
|
+
"href": "https://drafts.csswg.org/selectors-4/#user-valid-pseudo"
|
|
224
278
|
},
|
|
225
279
|
{
|
|
226
280
|
"name": ":root",
|
|
227
|
-
"prose": "The :root pseudo-class represents an element that is the root of the document."
|
|
281
|
+
"prose": "The :root pseudo-class represents an element that is the root of the document.",
|
|
282
|
+
"href": "https://drafts.csswg.org/selectors-4/#root-pseudo"
|
|
228
283
|
},
|
|
229
284
|
{
|
|
230
285
|
"name": ":empty",
|
|
231
|
-
"prose": "The :empty pseudo-class represents an element that has no children except, optionally, document white space characters. In terms of the document tree, only element nodes and content nodes (such as [DOM] text nodes, and entity references) whose data has a non-zero length must be considered as affecting emptiness; comments, processing instructions, and other nodes must not affect whether an element is considered empty or not."
|
|
286
|
+
"prose": "The :empty pseudo-class represents an element that has no children except, optionally, document white space characters. In terms of the document tree, only element nodes and content nodes (such as [DOM] text nodes, and entity references) whose data has a non-zero length must be considered as affecting emptiness; comments, processing instructions, and other nodes must not affect whether an element is considered empty or not.",
|
|
287
|
+
"href": "https://drafts.csswg.org/selectors-4/#empty-pseudo"
|
|
232
288
|
},
|
|
233
289
|
{
|
|
234
290
|
"name": ":nth-child()",
|
|
235
|
-
"value": ":nth-child(An+B [of S]? )"
|
|
291
|
+
"value": ":nth-child(An+B [of S]? )",
|
|
292
|
+
"href": "https://drafts.csswg.org/selectors-4/#nth-child-pseudo"
|
|
236
293
|
},
|
|
237
294
|
{
|
|
238
295
|
"name": ":nth-last-child()",
|
|
239
|
-
"value": ":nth-last-child(An+B [of S]? )"
|
|
296
|
+
"value": ":nth-last-child(An+B [of S]? )",
|
|
297
|
+
"href": "https://drafts.csswg.org/selectors-4/#nth-last-child-pseudo"
|
|
240
298
|
},
|
|
241
299
|
{
|
|
242
300
|
"name": ":first-child",
|
|
243
|
-
"prose": "The :first-child pseudo-class represents an element that if first among its inclusive siblings. Same as :nth-child(1)."
|
|
301
|
+
"prose": "The :first-child pseudo-class represents an element that if first among its inclusive siblings. Same as :nth-child(1).",
|
|
302
|
+
"href": "https://drafts.csswg.org/selectors-4/#first-child-pseudo"
|
|
244
303
|
},
|
|
245
304
|
{
|
|
246
305
|
"name": ":last-child",
|
|
247
|
-
"prose": "The :last-child pseudo-class represents an element that is last among its inclusive siblings. Same as :nth-last-child(1)."
|
|
306
|
+
"prose": "The :last-child pseudo-class represents an element that is last among its inclusive siblings. Same as :nth-last-child(1).",
|
|
307
|
+
"href": "https://drafts.csswg.org/selectors-4/#last-child-pseudo"
|
|
248
308
|
},
|
|
249
309
|
{
|
|
250
310
|
"name": ":only-child",
|
|
251
|
-
"prose": "The :only-child pseudo-class represents an element that has no siblings. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."
|
|
311
|
+
"prose": "The :only-child pseudo-class represents an element that has no siblings. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity.",
|
|
312
|
+
"href": "https://drafts.csswg.org/selectors-4/#only-child-pseudo"
|
|
252
313
|
},
|
|
253
314
|
{
|
|
254
315
|
"name": ":nth-of-type()",
|
|
255
|
-
"value": ":nth-of-type(An+B)"
|
|
316
|
+
"value": ":nth-of-type(An+B)",
|
|
317
|
+
"href": "https://drafts.csswg.org/selectors-4/#nth-of-type-pseudo"
|
|
256
318
|
},
|
|
257
319
|
{
|
|
258
320
|
"name": ":nth-last-of-type()",
|
|
259
|
-
"value": ":nth-last-of-type(An+B)"
|
|
321
|
+
"value": ":nth-last-of-type(An+B)",
|
|
322
|
+
"href": "https://drafts.csswg.org/selectors-4/#nth-last-of-type-pseudo"
|
|
260
323
|
},
|
|
261
324
|
{
|
|
262
325
|
"name": ":first-of-type",
|
|
263
|
-
"prose": "The :first-of-type pseudo-class represents the same element as :nth-of-type(1)."
|
|
326
|
+
"prose": "The :first-of-type pseudo-class represents the same element as :nth-of-type(1).",
|
|
327
|
+
"href": "https://drafts.csswg.org/selectors-4/#first-of-type-pseudo"
|
|
264
328
|
},
|
|
265
329
|
{
|
|
266
330
|
"name": ":last-of-type",
|
|
267
|
-
"prose": "The :last-of-type pseudo-class represents the same element as :nth-last-of-type(1)."
|
|
331
|
+
"prose": "The :last-of-type pseudo-class represents the same element as :nth-last-of-type(1).",
|
|
332
|
+
"href": "https://drafts.csswg.org/selectors-4/#last-of-type-pseudo"
|
|
268
333
|
},
|
|
269
334
|
{
|
|
270
335
|
"name": ":only-of-type",
|
|
271
|
-
"prose": "The :only-of-type pseudo-class represents the same element as :first-of-type:last-of-type."
|
|
336
|
+
"prose": "The :only-of-type pseudo-class represents the same element as :first-of-type:last-of-type.",
|
|
337
|
+
"href": "https://drafts.csswg.org/selectors-4/#only-of-type-pseudo"
|
|
272
338
|
},
|
|
273
339
|
{
|
|
274
340
|
"name": ">",
|
|
275
|
-
"prose": "A child combinator describes a childhood relationship between two elements. A child combinator is made of the \"greater-than sign\" (U+003E, >) code point and separates two compound selectors."
|
|
341
|
+
"prose": "A child combinator describes a childhood relationship between two elements. A child combinator is made of the \"greater-than sign\" (U+003E, >) code point and separates two compound selectors.",
|
|
342
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-child"
|
|
276
343
|
},
|
|
277
344
|
{
|
|
278
345
|
"name": "+",
|
|
279
|
-
"prose": "The next-sibling combinator is made of the “plus sign” (U+002B, +) code point that separates two compound selectors. The elements represented by the two compound selectors share the same parent in the document tree and the element represented by the first compound selector immediately precedes the element represented by the second one. Non-element nodes (e.g. text between elements) are ignored when considering the adjacency of elements."
|
|
346
|
+
"prose": "The next-sibling combinator is made of the “plus sign” (U+002B, +) code point that separates two compound selectors. The elements represented by the two compound selectors share the same parent in the document tree and the element represented by the first compound selector immediately precedes the element represented by the second one. Non-element nodes (e.g. text between elements) are ignored when considering the adjacency of elements.",
|
|
347
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-adjacent"
|
|
280
348
|
},
|
|
281
349
|
{
|
|
282
350
|
"name": "~",
|
|
283
|
-
"prose": "The subsequent-sibling combinator is made of the \"tilde\" (U+007E, ~) code point that separates two compound selectors. The elements represented by the two compound selectors share the same parent in the document tree and the element represented by the first compound selector precedes (not necessarily immediately) the element represented by the second one."
|
|
351
|
+
"prose": "The subsequent-sibling combinator is made of the \"tilde\" (U+007E, ~) code point that separates two compound selectors. The elements represented by the two compound selectors share the same parent in the document tree and the element represented by the first compound selector precedes (not necessarily immediately) the element represented by the second one.",
|
|
352
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-sibling"
|
|
284
353
|
},
|
|
285
354
|
{
|
|
286
355
|
"name": "||",
|
|
287
|
-
"prose": "The column combinator, which consists of two pipes (||) represents the relationship of a column element to a cell element belonging to the column it represents. Column membership is determined based on the semantics of the document language only: whether and how the elements are presented is not considered. If a cell element belongs to more than one column, it is represented by a selector indicating membership in any of those columns."
|
|
356
|
+
"prose": "The column combinator, which consists of two pipes (||) represents the relationship of a column element to a cell element belonging to the column it represents. Column membership is determined based on the semantics of the document language only: whether and how the elements are presented is not considered. If a cell element belongs to more than one column, it is represented by a selector indicating membership in any of those columns.",
|
|
357
|
+
"href": "https://drafts.csswg.org/selectors-4/#selectordef-column"
|
|
288
358
|
},
|
|
289
359
|
{
|
|
290
360
|
"name": ":nth-col()",
|
|
291
|
-
"value": ":nth-col(An+B)"
|
|
361
|
+
"value": ":nth-col(An+B)",
|
|
362
|
+
"href": "https://drafts.csswg.org/selectors-4/#nth-col-pseudo"
|
|
292
363
|
},
|
|
293
364
|
{
|
|
294
365
|
"name": ":nth-last-col()",
|
|
295
|
-
"value": ":nth-last-col(An+B)"
|
|
366
|
+
"value": ":nth-last-col(An+B)",
|
|
367
|
+
"href": "https://drafts.csswg.org/selectors-4/#nth-last-col-pseudo"
|
|
296
368
|
}
|
|
297
369
|
],
|
|
298
370
|
"values": [
|
|
299
371
|
{
|
|
300
372
|
"name": "<selector-list>",
|
|
373
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-selector-list",
|
|
301
374
|
"type": "type",
|
|
302
375
|
"value": "<complex-selector-list>"
|
|
303
376
|
},
|
|
304
377
|
{
|
|
305
378
|
"name": "<complex-selector-list>",
|
|
379
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-complex-selector-list",
|
|
306
380
|
"type": "type",
|
|
307
381
|
"value": "<complex-selector>#"
|
|
308
382
|
},
|
|
309
383
|
{
|
|
310
384
|
"name": "<complex-real-selector-list>",
|
|
385
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-complex-real-selector-list",
|
|
311
386
|
"type": "type",
|
|
312
387
|
"value": "<complex-real-selector>#"
|
|
313
388
|
},
|
|
314
389
|
{
|
|
315
390
|
"name": "<compound-selector-list>",
|
|
391
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-compound-selector-list",
|
|
316
392
|
"type": "type",
|
|
317
393
|
"value": "<compound-selector>#"
|
|
318
394
|
},
|
|
319
395
|
{
|
|
320
396
|
"name": "<simple-selector-list>",
|
|
397
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-simple-selector-list",
|
|
321
398
|
"type": "type",
|
|
322
399
|
"value": "<simple-selector>#"
|
|
323
400
|
},
|
|
324
401
|
{
|
|
325
402
|
"name": "<relative-selector-list>",
|
|
403
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-relative-selector-list",
|
|
326
404
|
"type": "type",
|
|
327
405
|
"value": "<relative-selector>#"
|
|
328
406
|
},
|
|
329
407
|
{
|
|
330
408
|
"name": "<relative-real-selector-list>",
|
|
409
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-relative-real-selector-list",
|
|
331
410
|
"type": "type",
|
|
332
411
|
"value": "<relative-real-selector>#"
|
|
333
412
|
},
|
|
334
413
|
{
|
|
335
414
|
"name": "<complex-selector>",
|
|
415
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-complex-selector",
|
|
336
416
|
"type": "type",
|
|
337
417
|
"value": "<complex-selector-unit> [ <combinator>? <complex-selector-unit> ]*"
|
|
338
418
|
},
|
|
339
419
|
{
|
|
340
420
|
"name": "<complex-selector-unit>",
|
|
421
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-complex-selector-unit",
|
|
341
422
|
"type": "type",
|
|
342
423
|
"value": "[ <compound-selector>? <pseudo-compound-selector>* ]!"
|
|
343
424
|
},
|
|
344
425
|
{
|
|
345
426
|
"name": "<complex-real-selector>",
|
|
427
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-complex-real-selector",
|
|
346
428
|
"type": "type",
|
|
347
429
|
"value": "<compound-selector> [ <combinator>? <compound-selector> ]*"
|
|
348
430
|
},
|
|
349
431
|
{
|
|
350
432
|
"name": "<relative-selector>",
|
|
433
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-relative-selector",
|
|
351
434
|
"type": "type",
|
|
352
435
|
"value": "<combinator>? <complex-selector>"
|
|
353
436
|
},
|
|
354
437
|
{
|
|
355
438
|
"name": "<relative-real-selector>",
|
|
439
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-relative-real-selector",
|
|
356
440
|
"type": "type",
|
|
357
441
|
"value": "<combinator>? <complex-real-selector>"
|
|
358
442
|
},
|
|
359
443
|
{
|
|
360
444
|
"name": "<compound-selector>",
|
|
445
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-compound-selector",
|
|
361
446
|
"type": "type",
|
|
362
447
|
"value": "[ <type-selector>? <subclass-selector>* ]!"
|
|
363
448
|
},
|
|
364
449
|
{
|
|
365
450
|
"name": "<pseudo-compound-selector>",
|
|
451
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-compound-selector",
|
|
366
452
|
"type": "type",
|
|
367
453
|
"value": "<pseudo-element-selector> <pseudo-class-selector>*"
|
|
368
454
|
},
|
|
369
455
|
{
|
|
370
456
|
"name": "<simple-selector>",
|
|
457
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-simple-selector",
|
|
371
458
|
"type": "type",
|
|
372
459
|
"value": "<type-selector> | <subclass-selector>"
|
|
373
460
|
},
|
|
374
461
|
{
|
|
375
462
|
"name": "<combinator>",
|
|
463
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-combinator",
|
|
376
464
|
"type": "type",
|
|
377
465
|
"value": "'>' | '+' | '~' | [ '|' '|' ]"
|
|
378
466
|
},
|
|
379
467
|
{
|
|
380
468
|
"name": "<wq-name>",
|
|
469
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-wq-name",
|
|
381
470
|
"type": "type",
|
|
382
471
|
"value": "<ns-prefix>? <ident-token>"
|
|
383
472
|
},
|
|
384
473
|
{
|
|
385
474
|
"name": "<ns-prefix>",
|
|
475
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-ns-prefix",
|
|
386
476
|
"type": "type",
|
|
387
477
|
"value": "[ <ident-token> | '*' ]? '|'"
|
|
388
478
|
},
|
|
389
479
|
{
|
|
390
480
|
"name": "<type-selector>",
|
|
481
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-type-selector",
|
|
391
482
|
"type": "type",
|
|
392
483
|
"value": "<wq-name> | <ns-prefix>? '*'"
|
|
393
484
|
},
|
|
394
485
|
{
|
|
395
486
|
"name": "<subclass-selector>",
|
|
487
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-subclass-selector",
|
|
396
488
|
"type": "type",
|
|
397
489
|
"value": "<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"
|
|
398
490
|
},
|
|
399
491
|
{
|
|
400
492
|
"name": "<id-selector>",
|
|
493
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-id-selector",
|
|
401
494
|
"type": "type",
|
|
402
495
|
"value": "<hash-token>"
|
|
403
496
|
},
|
|
404
497
|
{
|
|
405
498
|
"name": "<class-selector>",
|
|
499
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-class-selector",
|
|
406
500
|
"type": "type",
|
|
407
501
|
"value": "'.' <ident-token>"
|
|
408
502
|
},
|
|
409
503
|
{
|
|
410
504
|
"name": "<attribute-selector>",
|
|
505
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-attribute-selector",
|
|
411
506
|
"type": "type",
|
|
412
507
|
"value": "'[' <wq-name> ']' | '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'"
|
|
413
508
|
},
|
|
414
509
|
{
|
|
415
510
|
"name": "<attr-matcher>",
|
|
511
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-attr-matcher",
|
|
416
512
|
"type": "type",
|
|
417
513
|
"value": "[ '~' | '|' | '^' | '$' | '*' ]? '='"
|
|
418
514
|
},
|
|
419
515
|
{
|
|
420
516
|
"name": "<attr-modifier>",
|
|
517
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-attr-modifier",
|
|
421
518
|
"type": "type",
|
|
422
519
|
"value": "i | s"
|
|
423
520
|
},
|
|
424
521
|
{
|
|
425
522
|
"name": "<pseudo-class-selector>",
|
|
523
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-class-selector",
|
|
426
524
|
"type": "type",
|
|
427
525
|
"value": "':' <ident-token> | ':' <function-token> <any-value> ')'"
|
|
428
526
|
},
|
|
429
527
|
{
|
|
430
528
|
"name": "<pseudo-element-selector>",
|
|
529
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-element-selector",
|
|
431
530
|
"type": "type",
|
|
432
531
|
"value": "':' <pseudo-class-selector> | <legacy-pseudo-element-selector>"
|
|
433
532
|
},
|
|
434
533
|
{
|
|
435
534
|
"name": "<legacy-pseudo-element-selector>",
|
|
535
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-legacy-pseudo-element-selector",
|
|
436
536
|
"type": "type",
|
|
437
537
|
"value": "':' [before | after | first-line | first-letter]"
|
|
438
538
|
},
|
|
439
539
|
{
|
|
440
540
|
"name": "<forgiving-selector-list>",
|
|
441
541
|
"prose": "The <forgiving-selector-list> production instead parses each selector in the list individually, simply ignoring ones that fail to parse, so the remaining selectors can still be used.",
|
|
542
|
+
"href": "https://drafts.csswg.org/selectors-4/#typedef-forgiving-selector-list",
|
|
442
543
|
"type": "type"
|
|
443
544
|
}
|
|
444
545
|
]
|