mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Add stylo FFI for CSSStyleRule.style
This commit is contained in:
parent
66669e48ef
commit
9ee2ec5a35
2 changed files with 23 additions and 0 deletions
|
@ -1010,6 +1010,15 @@ extern "C" {
|
|||
index: u32)
|
||||
-> RawServoStyleRuleStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleRule_GetStyle(rule: RawServoStyleRuleBorrowed)
|
||||
-> RawServoDeclarationBlockStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleRule_SetStyle(rule: RawServoStyleRuleBorrowed,
|
||||
declarations:
|
||||
RawServoDeclarationBlockBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed,
|
||||
result: *mut nsAString_internal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue