Otherwise the shadow will not be properly computed as opaque regions
become translucent after applying opacity.
Testcase included.
self = gsk_render_node_alloc (GSK_SHADOW_NODE);
node = (GskRenderNode *) self;
- node->offscreen_for_opacity = child->offscreen_for_opacity;
+ node->offscreen_for_opacity = TRUE;
self->child = gsk_render_node_ref (child);
self->n_shadows = n_shadows;
--- /dev/null
+opacity {
+ opacity: 0.6;
+ child: shadow {
+ shadows: rgb(255,0,0) 10 10;
+ child: color {
+ bounds: 0 0 50 50;
+ color: rgb(0,0,255);
+ }
+ }
+}
'scaled-cairo',
'scaled-texture',
'shadow-in-opacity',
+ 'shadow-opacity',
'texture-scale-magnify-10000x',
'texture-scale-magnify-rotate',
'texture-scale-stripes',