aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2023-05-17 00:33:24 +0200
committerOriol Brufau <obrufau@igalia.com>2023-05-19 19:06:07 +0200
commit69fc5ca9fd2f8410999a83159c20b852b6c22ecd (patch)
tree8cea880d57184184a99da9c2e9c530f92d031b63 /components/style/servo/selector_parser.rs
parent54965bbcb9b6261d74c6ff587dffa3d748c1ac56 (diff)
downloadservo-69fc5ca9fd2f8410999a83159c20b852b6c22ecd.tar.gz
servo-69fc5ca9fd2f8410999a83159c20b852b6c22ecd.zip
style: Garbage-collect event state bits
We had about 9 gaps / unused bits. I moved the devtools ones at the end because I think we should be able to remove them (but separate bug). Differential Revision: https://phabricator.services.mozilla.com/D113365
Diffstat (limited to 'components/style/servo/selector_parser.rs')
-rw-r--r--components/style/servo/selector_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/servo/selector_parser.rs b/components/style/servo/selector_parser.rs
index ce61c172553..7d5b8c5772a 100644
--- a/components/style/servo/selector_parser.rs
+++ b/components/style/servo/selector_parser.rs
@@ -372,7 +372,7 @@ impl NonTSPseudoClass {
Disabled => ElementState::IN_DISABLED_STATE,
Checked => ElementState::IN_CHECKED_STATE,
Indeterminate => ElementState::IN_INDETERMINATE_STATE,
- ReadOnly | ReadWrite => ElementState::IN_READ_WRITE_STATE,
+ ReadOnly | ReadWrite => ElementState::IN_READWRITE_STATE,
PlaceholderShown => ElementState::IN_PLACEHOLDER_SHOWN_STATE,
Target => ElementState::IN_TARGET_STATE,