From 381651fd106462b38a8f258a9e97e4c515526aa3 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Fri, 6 Jan 2017 10:04:49 +1100 Subject: [PATCH] Change order of element state bits --- components/style/element_state.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/style/element_state.rs b/components/style/element_state.rs index 9ccd08334cc..3bfa55242ad 100644 --- a/components/style/element_state.rs +++ b/components/style/element_state.rs @@ -31,13 +31,13 @@ bitflags! { const IN_CHECKED_STATE = 0x20, #[doc = "https://html.spec.whatwg.org/multipage/#selector-indeterminate"] const IN_INDETERMINATE_STATE = 0x40, - #[doc = "https://html.spec.whatwg.org/multipage/#selector-read-write"] - const IN_READ_WRITE_STATE = 0x80, #[doc = "https://html.spec.whatwg.org/multipage/#selector-placeholder-shown"] - const IN_PLACEHOLDER_SHOWN_STATE = 0x0100, + const IN_PLACEHOLDER_SHOWN_STATE = 0x80, #[doc = "https://html.spec.whatwg.org/multipage/#selector-target"] - const IN_TARGET_STATE = 0x0200, + const IN_TARGET_STATE = 0x100, #[doc = "https://fullscreen.spec.whatwg.org/#%3Afullscreen-pseudo-class"] - const IN_FULLSCREEN_STATE = 0x0400, + const IN_FULLSCREEN_STATE = 0x200, + #[doc = "https://html.spec.whatwg.org/multipage/#selector-read-write"] + const IN_READ_WRITE_STATE = 0x400, } }