aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-05-19 22:49:36 +0200
committerGitHub <noreply@github.com>2023-05-19 22:49:36 +0200
commit2426a38a4d11615d71c34649b83436aa1f109260 (patch)
treea5c682e2f3d93813aa5e42c8f50f3f6512b73574 /components/style/servo/selector_parser.rs
parent71c5bb02b41b8d98b1612563558c2c14b3e20b1a (diff)
parentdbb92b99ad359634e8b84417b8264f84bfc5d056 (diff)
downloadservo-2426a38a4d11615d71c34649b83436aa1f109260.tar.gz
servo-2426a38a4d11615d71c34649b83436aa1f109260.zip
Auto merge of #29748 - Loirooriol:sync, r=mrobinson
Backport several style changes from Gecko <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
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,