@@ -18,35 +18,35 @@ bitflags! {
18
18
#[ cfg_attr( feature = "servo" , derive( HeapSizeOf ) ) ]
19
19
pub flags ElementState : u64 {
20
20
/// The mouse is down on this element.
21
- /// https://html.spec.whatwg.org/multipage/#selector-active
21
+ /// < https://html.spec.whatwg.org/multipage/#selector-active>
22
22
/// FIXME(#7333): set/unset this when appropriate
23
23
const IN_ACTIVE_STATE = 1 << 0 ,
24
24
/// This element has focus.
25
- /// https://html.spec.whatwg.org/multipage/#selector-focus
25
+ /// < https://html.spec.whatwg.org/multipage/#selector-focus>
26
26
const IN_FOCUS_STATE = 1 << 1 ,
27
27
/// The mouse is hovering over this element.
28
- /// https://html.spec.whatwg.org/multipage/#selector-hover
28
+ /// < https://html.spec.whatwg.org/multipage/#selector-hover>
29
29
const IN_HOVER_STATE = 1 << 2 ,
30
30
/// Content is enabled (and can be disabled).
31
- /// http://www.whatwg.org/html/#selector-enabled
31
+ /// < http://www.whatwg.org/html/#selector-enabled>
32
32
const IN_ENABLED_STATE = 1 << 3 ,
33
33
/// Content is disabled.
34
- /// http://www.whatwg.org/html/#selector-disabled
34
+ /// < http://www.whatwg.org/html/#selector-disabled>
35
35
const IN_DISABLED_STATE = 1 << 4 ,
36
36
/// Content is checked.
37
- /// https://html.spec.whatwg.org/multipage/#selector-checked
37
+ /// < https://html.spec.whatwg.org/multipage/#selector-checked>
38
38
const IN_CHECKED_STATE = 1 << 5 ,
39
- /// https://html.spec.whatwg.org/multipage/#selector-indeterminate
39
+ /// < https://html.spec.whatwg.org/multipage/#selector-indeterminate>
40
40
const IN_INDETERMINATE_STATE = 1 << 6 ,
41
- /// https://html.spec.whatwg.org/multipage/#selector-placeholder-shown
41
+ /// < https://html.spec.whatwg.org/multipage/#selector-placeholder-shown>
42
42
const IN_PLACEHOLDER_SHOWN_STATE = 1 << 7 ,
43
- /// https://html.spec.whatwg.org/multipage/#selector-target
43
+ /// < https://html.spec.whatwg.org/multipage/#selector-target>
44
44
const IN_TARGET_STATE = 1 << 8 ,
45
- /// https://fullscreen.spec.whatwg.org/#%3Afullscreen-pseudo-class
45
+ /// < https://fullscreen.spec.whatwg.org/#%3Afullscreen-pseudo-class>
46
46
const IN_FULLSCREEN_STATE = 1 << 9 ,
47
- /// https://html.spec.whatwg.org/multipage/#selector-valid
47
+ /// < https://html.spec.whatwg.org/multipage/#selector-valid>
48
48
const IN_VALID_STATE = 1 << 10 ,
49
- /// https://html.spec.whatwg.org/multipage/#selector-invalid
49
+ /// < https://html.spec.whatwg.org/multipage/#selector-invalid>
50
50
const IN_INVALID_STATE = 1 << 11 ,
51
51
/// Non-standard: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-ui-valid
52
52
const IN_MOZ_UI_VALID_STATE = 1 << 12 ,
@@ -66,31 +66,31 @@ bitflags! {
66
66
const IN_HANDLER_DISABLED_STATE = 1 << 19 ,
67
67
/// Non-standard: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-handler-crashed
68
68
const IN_HANDLER_CRASHED_STATE = 1 << 20 ,
69
- /// https://html.spec.whatwg.org/multipage/#selector-required
69
+ /// < https://html.spec.whatwg.org/multipage/#selector-required>
70
70
const IN_REQUIRED_STATE = 1 << 21 ,
71
- /// https://html.spec.whatwg.org/multipage/#selector-optional
71
+ /// < https://html.spec.whatwg.org/multipage/#selector-optional>
72
72
const IN_OPTIONAL_STATE = 1 << 22 ,
73
- /// https://html.spec.whatwg.org/multipage/#selector-read-write
73
+ /// < https://html.spec.whatwg.org/multipage/#selector-read-write>
74
74
const IN_READ_WRITE_STATE = 1 << 22 ,
75
75
/// Non-standard: Older custom-elements spec.
76
76
const IN_UNRESOLVED_STATE = 1 << 23 ,
77
- /// https://html.spec.whatwg.org/multipage/#selector-visited
77
+ /// < https://html.spec.whatwg.org/multipage/#selector-visited>
78
78
const IN_VISITED_STATE = 1 << 24 ,
79
- /// https://html.spec.whatwg.org/multipage/#selector-link
79
+ /// < https://html.spec.whatwg.org/multipage/#selector-link>
80
80
const IN_UNVISITED_STATE = 1 << 25 ,
81
- /// https://drafts.csswg.org/selectors-4/#the-any-link-pseudo
81
+ /// < https://drafts.csswg.org/selectors-4/#the-any-link-pseudo>
82
82
const IN_VISITED_OR_UNVISITED_STATE = IN_VISITED_STATE . bits | IN_UNVISITED_STATE . bits,
83
83
/// Non-standard: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-drag-over
84
84
const IN_DRAGOVER_STATE = 1 << 26 ,
85
- /// https://html.spec.whatwg.org/multipage/#selector-in-range
85
+ /// < https://html.spec.whatwg.org/multipage/#selector-in-range>
86
86
const IN_INRANGE_STATE = 1 << 27 ,
87
- /// https://html.spec.whatwg.org/multipage/#selector-out-of-range
87
+ /// < https://html.spec.whatwg.org/multipage/#selector-out-of-range>
88
88
const IN_OUTOFRANGE_STATE = 1 << 28 ,
89
- /// https://html.spec.whatwg.org/multipage/#selector-read-only
89
+ /// < https://html.spec.whatwg.org/multipage/#selector-read-only>
90
90
const IN_MOZ_READONLY_STATE = 1 << 29 ,
91
- /// https://html.spec.whatwg.org/multipage/#selector-read-write
91
+ /// < https://html.spec.whatwg.org/multipage/#selector-read-write>
92
92
const IN_MOZ_READWRITE_STATE = 1 << 30 ,
93
- /// https://html.spec.whatwg.org/multipage/#selector-default
93
+ /// < https://html.spec.whatwg.org/multipage/#selector-default>
94
94
const IN_DEFAULT_STATE = 1 << 31 ,
95
95
/// Non-standard: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-submit-invalid
96
96
const IN_MOZ_SUBMITINVALID_STATE = 1 << 32 ,
@@ -114,7 +114,7 @@ bitflags! {
114
114
const IN_HANDLER_VULNERABLE_UPDATABLE_STATE = 1 << 41 ,
115
115
/// Non-standard & undocumented.
116
116
const IN_HANDLER_VULNERABLE_NO_UPDATE_STATE = 1 << 42 ,
117
- /// https://drafts.csswg.org/selectors-4/#the-focus-within-pseudo
117
+ /// < https://drafts.csswg.org/selectors-4/#the-focus-within-pseudo>
118
118
const IN_FOCUS_WITHIN_STATE = 1 << 43 ,
119
119
/// :dir matching; the states are used for dynamic change detection.
120
120
/// State that elements that match :dir(ltr) are in.
0 commit comments