Bug 1302949 - Add a method to restyle with an added declaration; r=Manishearth

MozReview-Commit-ID: AbX0PCjjEM6
This commit is contained in:
Brian Birtles 2016-09-16 10:58:53 +09:00 committed by Manish Goregaokar
parent 1c78e1cb20
commit 45e0b90d63
2 changed files with 37 additions and 1 deletions

View file

@ -952,6 +952,11 @@ extern "C" {
pub fn Servo_RestyleSubtree(node: RawGeckoNodeBorrowed,
set: RawServoStyleSetBorrowedMut);
}
extern "C" {
pub fn Servo_RestyleWithAddedDeclaration(declarations: ServoDeclarationBlockBorrowed,
previous_style: ServoComputedValuesBorrowed)
-> ServoComputedValuesStrong;
}
extern "C" {
pub fn Servo_GetStyleFont(computed_values:
ServoComputedValuesBorrowedOrNull)