style: Implement :defined pseudo-class for custom elements.

Bug: 1331334
Reviewed-by: emilio
This commit is contained in:
Olli Pettay 2018-06-28 14:55:45 +03:00 committed by Emilio Cobos Álvarez
parent 06fa3406de
commit b68e4c2352
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 7 additions and 1 deletions

View file

@ -71,7 +71,8 @@ bitflags! {
const IN_OPTIONAL_STATE = 1 << 22;
/// <https://html.spec.whatwg.org/multipage/#selector-read-write>
const IN_READ_WRITE_STATE = 1 << 22;
/// There is a free bit at 23.
/// <https://html.spec.whatwg.org/multipage/semantics-other.html#selector-defined>
const IN_DEFINED_STATE = 1 << 23;
/// <https://html.spec.whatwg.org/multipage/#selector-visited>
const IN_VISITED_STATE = 1 << 24;
/// <https://html.spec.whatwg.org/multipage/#selector-link>