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
and [`:popover-open`](https://www.w3.org/TR/selectors-4/#popover-open-state) pseudo-classes,
71
-
primarily but not exclusively to use with HTML forms
79
+
primarily but not exclusively to use with **HTML forms**
80
+
81
+
_The following selectors were previously in [CSS Basic UI 3](https://www.w3.org/TR/css-ui-3/)
82
+
and have been moved to the main Selectors 4 specification
83
+
for ease of reference_
84
+
85
+
- Added the [`:valid` and `:invalid`](https://www.w3.org/TR/selectors-4/#range-pseudos) pseudo-classes
86
+
- Added the [`:user-valid` and `:user-invalid`](https://www.w3.org/TR/selectors-4/#user-pseudos), pseudo-classes. These only match afer **significant user interaction**.
87
+
- Added the [`:required` and `:optional`](https://www.w3.org/TR/selectors-4/#opt-pseudos) optionality pseudo-classes
88
+
- Added the [`:enabled` and `:disabled`](https://www.w3.org/TR/selectors-4/#enableddisabled) pseudo-classes
89
+
- Added the [`:read-only` and `:read-write`](https://www.w3.org/TR/selectors-4/#rw-pseudos) mutability pseudo-classes
90
+
- Added the automatic input [`:autofill`](https://www.w3.org/TR/selectors-4/#autofill) pseudo-class
91
+
- Added the **selected-option**[`:checked`, `:unchecked` and `:indeterminate`](https://www.w3.org/TR/selectors-4/#checked) pseudo-classes
72
92
73
93
### Hyperlinking Support
74
94
75
95
- Added [`:any-link`](https://www.w3.org/TR/selectors-4/#the-any-link-pseudo) to match
76
-
any element that acts as the source anchor of a hyperlink
96
+
any element that acts as the **source anchor** of a hyperlink
77
97
78
98
### Clearer Expression of Authorial Intent
79
99
@@ -84,40 +104,35 @@ These are both majority uses, hence the naming of the specification.
84
104
### Media State
85
105
86
106
- Added the `:playing`, `:paused` and `:seeking`[media playback state](https://www.w3.org/TR/selectors-4/#video-state) pseudo classes,
87
-
to enable selecting on the dynamic state of video elements,
107
+
to enable selecting on the **dynamic state of video elements**,
88
108
functionality which previously required JavaScript
0 commit comments