Stylo: Bug 1355408 - add support for @-moz-document

This commit is contained in:
Fernando Jiménez Moreno 2017-05-09 10:41:03 +02:00
parent 9c9bd17871
commit b22e0e9494
12 changed files with 338 additions and 24 deletions

View file

@ -2130,6 +2130,18 @@ pub mod root {
ComplexColorValue ) , "::" , stringify ! (
_mOwningThread ) ));
}
#[repr(i32)]
/**
* Enum defining the type of URL matching function for a @-moz-document rule
* condition.
*/
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum URLMatchingFunction {
eURL = 0,
eURLPrefix = 1,
eDomain = 2,
eRegExp = 3,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DocumentRule {