mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Record viewport unit usage and generate proper restyle hint.
This commit is contained in:
parent
bf16b146e8
commit
388875ca44
4 changed files with 30 additions and 5 deletions
|
@ -1921,8 +1921,9 @@ extern "C" {
|
|||
pub fn Servo_StyleSet_RebuildData(set: RawServoStyleSetBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_MediumFeaturesChanged(set: RawServoStyleSetBorrowed)
|
||||
-> bool;
|
||||
pub fn Servo_StyleSet_MediumFeaturesChanged(set: RawServoStyleSetBorrowed,
|
||||
viewport_changed: bool)
|
||||
-> nsRestyleHint;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_CompatModeChanged(raw_data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue