stylo: Support all non-ts pseudos with an argument

This commit is contained in:
Manish Goregaokar 2017-03-16 14:10:22 -07:00 committed by Manish Goregaokar
parent 2f6cf2e9c8
commit f2f832d1d9
4 changed files with 43 additions and 5 deletions

View file

@ -1003,6 +1003,12 @@ extern "C" {
RawGeckoPresContextBorrowed)
-> nscolor;
}
extern "C" {
pub fn Gecko_MatchStringArgPseudo(element: RawGeckoElementBorrowed,
type_: CSSPseudoClassType,
ident: *const u16,
set_slow_selector: *mut bool) -> bool;
}
extern "C" {
pub fn Gecko_Construct_Default_nsStyleFont(ptr: *mut nsStyleFont,
pres_context: