style: Record DocumentState dependencies.

This commit is contained in:
Cameron McCormack 2017-10-18 14:17:32 +08:00
parent c22dba0b87
commit d58c967efa
4 changed files with 39 additions and 3 deletions

View file

@ -144,6 +144,7 @@ bitflags! {
///
/// NB: Is important for this to remain in sync with Gecko's
/// dom/base/nsIDocument.h.
#[derive(MallocSizeOf)]
pub flags DocumentState: u64 {
/// RTL locale: specific to the XUL localedir attribute
const NS_DOCUMENT_STATE_RTL_LOCALE = 1 << 0,