Add stylo FFI for cssText getters of CSSStyleRule

This commit is contained in:
Xidorn Quan 2016-11-23 10:33:16 +11:00
parent a9296bc89c
commit 66669e48ef
2 changed files with 21 additions and 0 deletions

View file

@ -1010,6 +1010,14 @@ extern "C" {
index: u32)
-> RawServoStyleRuleStrong;
}
extern "C" {
pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed,
result: *mut nsAString_internal);
}
extern "C" {
pub fn Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed,
result: *mut nsAString_internal);
}
extern "C" {
pub fn Servo_ParseProperty(property: *const nsACString_internal,
value: *const nsACString_internal,