stylo: support 1-arg CSS.supports()

This commit is contained in:
Manish Goregaokar 2017-01-15 23:09:42 -08:00 committed by Manish Goregaokar
parent ad1b11771b
commit 98fd42df17
2 changed files with 21 additions and 3 deletions

View file

@ -1317,8 +1317,11 @@ extern "C" {
nsCSSPropertyID);
}
extern "C" {
pub fn Servo_CSSSupports(name: *const nsACString_internal,
value: *const nsACString_internal) -> bool;
pub fn Servo_CSSSupports2(name: *const nsACString_internal,
value: *const nsACString_internal) -> bool;
}
extern "C" {
pub fn Servo_CSSSupports(cond: *const nsACString_internal) -> bool;
}
extern "C" {
pub fn Servo_ComputedValues_GetForAnonymousBox(parent_style_or_null: