Bug 1325728 - Simplify pseudo-element handling. r=heycam

This commit is contained in:
Bobby Holley 2016-12-21 17:58:38 -08:00 committed by Cameron McCormack
parent 3ada6cf68f
commit cda445cba5
2 changed files with 40 additions and 44 deletions

View file

@ -1183,17 +1183,6 @@ extern "C" {
RawServoStyleSetBorrowed)
-> ServoComputedValuesStrong;
}
extern "C" {
pub fn Servo_ComputedValues_GetForPseudoElement(parent_style:
ServoComputedValuesBorrowed,
match_element:
RawGeckoElementBorrowed,
pseudo_tag: *mut nsIAtom,
set:
RawServoStyleSetBorrowed,
is_probe: bool)
-> ServoComputedValuesStrong;
}
extern "C" {
pub fn Servo_ComputedValues_Inherit(parent_style:
ServoComputedValuesBorrowedOrNull)
@ -1225,6 +1214,12 @@ extern "C" {
compute: LazyComputeBehavior)
-> ServoComputedValuesStrong;
}
extern "C" {
pub fn Servo_ResolvePseudoStyle(element: RawGeckoElementBorrowed,
pseudo_tag: *mut nsIAtom, is_probe: bool,
set: RawServoStyleSetBorrowed)
-> ServoComputedValuesStrong;
}
extern "C" {
pub fn Servo_TraverseSubtree(root: RawGeckoElementBorrowed,
set: RawServoStyleSetBorrowed,