mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Support pseudo-element properly in HasAuthorSpecifiedRules.
This commit is contained in:
parent
be5839fae6
commit
0c40ae70ed
3 changed files with 28 additions and 19 deletions
|
@ -2944,7 +2944,9 @@ extern "C" {
|
|||
primary_style: ServoStyleContextBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_HasAuthorSpecifiedRules(element: RawGeckoElementBorrowed,
|
||||
pub fn Servo_HasAuthorSpecifiedRules(style: ServoStyleContextBorrowed,
|
||||
element: RawGeckoElementBorrowed,
|
||||
pseudo_type: CSSPseudoElementType,
|
||||
rule_type_mask: u32,
|
||||
author_colors_allowed: bool) -> bool;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue