mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Implement :required/:optional support for stylo.
Servo side of https://bugzilla.mozilla.org/show_bug.cgi?id=1349659
This commit is contained in:
parent
e0f1855c10
commit
5a5a6cd876
3 changed files with 10 additions and 2 deletions
|
@ -57,7 +57,11 @@ bitflags! {
|
|||
const IN_HANDLER_DISABLED_STATE = 1 << 18,
|
||||
#[doc = "Non-standard: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-handler-crashed"]
|
||||
const IN_HANDLER_CRASHED_STATE = 1 << 19,
|
||||
#[doc = "https://html.spec.whatwg.org/multipage/#selector-required"]
|
||||
const IN_REQUIRED_STATE = 1 << 20,
|
||||
#[doc = "https://html.spec.whatwg.org/multipage/#selector-optional"]
|
||||
const IN_OPTIONAL_STATE = 1 << 21,
|
||||
#[doc = "https://html.spec.whatwg.org/multipage/#selector-read-write"]
|
||||
const IN_READ_WRITE_STATE = 1 << 20,
|
||||
const IN_READ_WRITE_STATE = 1 << 22,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue