Commit 30e99e45 authored by Andrea Iacovitti's avatar Andrea Iacovitti

Do not loose alpha channel when applying text shadow color.

BUG: 337239
FIXED-IN: 4.13.3
parent bf94cff6
......@@ -4140,7 +4140,7 @@ void CSSStyleSelector::applyRule( int id, DOM::CSSValueImpl *value )
if (ident)
col = colorForCSSValue( ident );
else if (item->color->primitiveType() == CSSPrimitiveValue::CSS_RGBCOLOR)
ShadowData* shadowData = new ShadowData(x, y, blur, col);
style->setTextShadow(shadowData, i != 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment