Implement the unitless length quirk for physical size extremums

This commit is contained in:
Anthony Ramine 2017-04-25 00:59:01 +02:00
parent 2aea6d8907
commit 37118e1e45
4 changed files with 51 additions and 59 deletions

View file

@ -511,7 +511,7 @@ pub extern "C" fn Servo_StyleSheet_Empty(mode: SheetParsingMode) -> RawServoStyl
Arc::new(Stylesheet::from_str(
"", unsafe { dummy_url_data() }.clone(), origin,
Arc::new(shared_lock.wrap(MediaList::empty())),
shared_lock, None, &RustLogReporter, QuirksMode::NoQuirks, Wh0u64)
shared_lock, None, &RustLogReporter, QuirksMode::NoQuirks, 0u64)
).into_strong()
}