summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/drawing-item.cpp')
-rw-r--r--src/display/drawing-item.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp
index 3cdfc72a9..132c070b0 100644
--- a/src/display/drawing-item.cpp
+++ b/src/display/drawing-item.cpp
@@ -739,7 +739,7 @@ DrawingItem::render(DrawingContext &dc, Geom::IntRect const &area, unsigned flag
nir |= needs_opacity; // 4. it is non-opaque
nir |= (_mix_blend_mode != SP_CSS_BLEND_NORMAL); // 5. it has blend mode
nir |= (_isolation == SP_CSS_ISOLATION_ISOLATE); // 6. it is isolated
- nir |= !parent(); // 7. is root need isolation from background
+ nir |= !parent(); // 7. is root, need isolation from background
if (prev_nir && !needs_intermediate_rendering) {
setCached(false, true);
if (_has_cache_iterator) {
@@ -768,6 +768,7 @@ DrawingItem::render(DrawingContext &dc, Geom::IntRect const &area, unsigned flag
// element
if ((flags & RENDER_FILTER_BACKGROUND) || !needs_intermediate_rendering) {
+ dc.setOperator(ink_css_blend_to_cairo_operator(SP_CSS_BLEND_NORMAL));
return _renderItem(dc, *carea, flags & ~RENDER_FILTER_BACKGROUND, stop_at);
}