mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Stylo: Bug 1355408 - add support for @-moz-document
This commit is contained in:
parent
9c9bd17871
commit
b22e0e9494
12 changed files with 338 additions and 24 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue