mirror of
https://github.com/servo/servo.git
synced 2025-08-19 20:35:34 +01:00
Bug 1298588 part 13. Make sure Device has a ComputedValues for stylo. r=bholley
This commit is contained in:
parent
62961370ec
commit
369fdddcd9
5 changed files with 54 additions and 21 deletions
|
@ -623,6 +623,7 @@ pub extern "C" fn Servo_StyleSet_RecomputeDefaultStyles(
|
|||
pres_context: RawGeckoPresContextBorrowed) {
|
||||
let mut data = PerDocumentStyleData::from_ffi(raw_data).borrow_mut();
|
||||
data.default_computed_values = ComputedValues::default_values(pres_context);
|
||||
// FIXME(bz): We need to update our Stylist's Device's computed values, but how?
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue