mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add binding functions for getting/removing property
This commit is contained in:
parent
f6d5dc7d08
commit
9ef1292957
2 changed files with 60 additions and 0 deletions
|
@ -960,6 +960,28 @@ extern "C" {
|
|||
*mut nsAString_internal)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_GetPropertyValue(declarations:
|
||||
RawServoDeclarationBlockBorrowed,
|
||||
property: *mut nsIAtom,
|
||||
is_custom: bool,
|
||||
value:
|
||||
*mut nsAString_internal);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_GetPropertyIsImportant(declarations:
|
||||
RawServoDeclarationBlockBorrowed,
|
||||
property:
|
||||
*mut nsIAtom,
|
||||
is_custom: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_RemoveProperty(declarations:
|
||||
RawServoDeclarationBlockBorrowed,
|
||||
property: *mut nsIAtom,
|
||||
is_custom: bool);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_CSSSupports(name: *const nsACString_internal,
|
||||
value: *const nsACString_internal) -> bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue