Update WR (more scroll/clip work, fix for zero sized stacking contexts).

This commit is contained in:
Glenn Watson 2017-02-21 12:29:39 +10:00
parent b5d8e8b84d
commit 64cc8b1d1b
2 changed files with 3 additions and 6 deletions

4
Cargo.lock generated
View file

@ -3210,7 +3210,7 @@ dependencies = [
[[package]] [[package]]
name = "webrender" name = "webrender"
version = "0.17.0" version = "0.17.0"
source = "git+https://github.com/servo/webrender#12e583107f5525012f838acf847b2d9b47ea3f60" source = "git+https://github.com/servo/webrender#4221987984718bfc6312f92df9501d8fd7a88ea8"
dependencies = [ dependencies = [
"app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.0.0-alpha2 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.0.0-alpha2 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3238,7 +3238,7 @@ dependencies = [
[[package]] [[package]]
name = "webrender_traits" name = "webrender_traits"
version = "0.16.0" version = "0.16.0"
source = "git+https://github.com/servo/webrender#12e583107f5525012f838acf847b2d9b47ea3f60" source = "git+https://github.com/servo/webrender#4221987984718bfc6312f92df9501d8fd7a88ea8"
dependencies = [ dependencies = [
"app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -183,10 +183,7 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static {
enable_scrollbars: opts.output_file.is_none(), enable_scrollbars: opts.output_file.is_none(),
renderer_kind: renderer_kind, renderer_kind: renderer_kind,
enable_subpixel_aa: opts.enable_subpixel_text_antialiasing, enable_subpixel_aa: opts.enable_subpixel_text_antialiasing,
clear_framebuffer: true, ..Default::default()
clear_color: webrender_traits::ColorF::new(1.0, 1.0, 1.0, 1.0),
render_target_debug: false,
workers: None,
}).expect("Unable to initialize webrender!") }).expect("Unable to initialize webrender!")
}; };