mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -194,6 +194,7 @@ use gecko_bindings::structs::EffectCompositor_CascadeLevel;
|
|||
use gecko_bindings::structs::UpdateAnimationsTasks;
|
||||
use gecko_bindings::structs::LengthParsingMode;
|
||||
use gecko_bindings::structs::InheritTarget;
|
||||
use gecko_bindings::structs::URLMatchingFunction;
|
||||
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
|
||||
pub type ServoCssRulesStrong = ::gecko_bindings::sugar::ownership::Strong<ServoCssRules>;
|
||||
pub type ServoCssRulesBorrowed<'a> = &'a ServoCssRules;
|
||||
|
@ -1549,6 +1550,14 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_UnregisterProfilerThread();
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_DocumentRule_UseForPresentation(arg1:
|
||||
RawGeckoPresContextBorrowed,
|
||||
aPattern: *const nsACString,
|
||||
aURLMatchingFunction:
|
||||
URLMatchingFunction)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue