stylo: Propagate quirks mode information from Gecko to Servo

This commit is contained in:
Nazım Can Altınova 2017-05-06 01:12:03 +03:00
parent 875b07b4ec
commit c54d255d07
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
9 changed files with 48 additions and 14 deletions

View file

@ -418,7 +418,7 @@ impl LayoutThread {
let font_cache_receiver =
ROUTER.route_ipc_receiver_to_new_mpsc_receiver(ipc_font_cache_receiver);
let stylist = Stylist::new(device);
let stylist = Stylist::new(device, QuirksMode::NoQuirks);
let outstanding_web_fonts_counter = Arc::new(AtomicUsize::new(0));
let ua_stylesheets = &*UA_STYLESHEETS;
let guard = ua_stylesheets.shared_lock.read();