Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam
This commit is contained in:
@@ -3927,6 +3927,22 @@ nsComputedDOMStyle::DoGetWebkitTextFillColor()
|
||||
return val.forget();
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetWebkitTextStrokeColor()
|
||||
{
|
||||
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
|
||||
SetToRGBAColor(val, mStyleContext->GetTextStrokeColor());
|
||||
return val.forget();
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetWebkitTextStrokeWidth()
|
||||
{
|
||||
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
|
||||
val->SetAppUnits(StyleText()->mWebkitTextStrokeWidth.GetCoordValue());
|
||||
return val.forget();
|
||||
}
|
||||
|
||||
already_AddRefed<CSSValue>
|
||||
nsComputedDOMStyle::DoGetPointerEvents()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user