aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/element_state.rs
diff options
context:
space:
mode:
authorYoav Alon <yoava333@gmail.com>2016-04-25 18:55:31 +0300
committerYoav Alon <yoava333@gmail.com>2016-04-27 01:38:58 +0300
commit9bf909ac2ffb0951f2b1477f68565e7e9a51012d (patch)
treeea49c0b583d9261cdf8fa3ef59ca42247ae54c35 /components/style/element_state.rs
parentf773dc182badef4a4afac240d0d6fcbf57b76452 (diff)
downloadservo-9bf909ac2ffb0951f2b1477f68565e7e9a51012d.tar.gz
servo-9bf909ac2ffb0951f2b1477f68565e7e9a51012d.zip
added support for :read-only and :read-write pseudo-classes
partial fix for https://github.com/servo/servo/issues/10732
Diffstat (limited to 'components/style/element_state.rs')
-rw-r--r--components/style/element_state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/style/element_state.rs b/components/style/element_state.rs
index 41846085fc8..26a2198f3f1 100644
--- a/components/style/element_state.rs
+++ b/components/style/element_state.rs
@@ -27,5 +27,7 @@ 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,
}
}