Bug 1298588 part 13. Make sure Device has a ComputedValues for stylo. r=bholley

This commit is contained in:
Boris Zbarsky 2017-01-04 13:55:05 -05:00
parent 62961370ec
commit 369fdddcd9
5 changed files with 54 additions and 21 deletions

View file

@ -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]