diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-01-08 13:53:17 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-01-12 08:02:41 -0800 |
commit | 97d344300321832263dd1e5268738a6f4d8a1533 (patch) | |
tree | a0db27109a1c6a358386c7996a62876e6621f1e9 /components/layout/layout_task.rs | |
parent | 3897547bc2ef85b8c1797ae6c915121c36873cac (diff) | |
download | servo-97d344300321832263dd1e5268738a6f4d8a1533.tar.gz servo-97d344300321832263dd1e5268738a6f4d8a1533.zip |
layout: Implement `mix-blend-mode` per COMPOSITING § 3.4.1.
`background-blend-mode` is not yet supported because we don't support
multiple backgrounds yet.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 167e1d4a846..b8c2385a557 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -63,7 +63,7 @@ use std::cell::Cell; use std::comm::{channel, Sender, Receiver, Select}; use std::mem; use std::ptr; -use style::computed_values::filter; +use style::computed_values::{filter, mix_blend_mode}; use style::{StylesheetOrigin, Stylesheet, Stylist, TNode, iter_font_face_rules}; use style::{MediaType, Device}; use std::sync::{Arc, Mutex, MutexGuard}; @@ -698,6 +698,7 @@ impl LayoutTask { &origin, 0, filter::T::new(Vec::new()), + mix_blend_mode::T::normal, Some(paint_layer))); rw_data.stacking_context = Some(stacking_context.clone()); |