mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Bug 1325728 - Simplify pseudo-element handling. r=heycam
This commit is contained in:
parent
3ada6cf68f
commit
cda445cba5
2 changed files with 40 additions and 44 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue