mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 948265 - Add NOT_IMPLEMENTED return value for each CSS filter in nsCSSFilterInstance. r=longsonr
This commit is contained in:
parent
09c67dcee1
commit
1f7c1efb8d
@ -39,16 +39,23 @@ nsCSSFilterInstance::BuildPrimitives(nsTArray<FilterPrimitiveDescription>& aPrim
|
||||
result = SetAttributesForBlur(descr);
|
||||
break;
|
||||
case NS_STYLE_FILTER_BRIGHTNESS:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_CONTRAST:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_DROP_SHADOW:
|
||||
descr = CreatePrimitiveDescription(PrimitiveType::DropShadow, aPrimitiveDescrs);
|
||||
result = SetAttributesForDropShadow(descr);
|
||||
break;
|
||||
case NS_STYLE_FILTER_GRAYSCALE:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_HUE_ROTATE:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_INVERT:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_OPACITY:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_SATURATE:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
case NS_STYLE_FILTER_SEPIA:
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user