зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1292447: part 3 - Get text-indent prop resolved to computed value. r=TYLin,xidorn
MozReview-Commit-ID: 4xp4iLzcn5S --HG-- extra : rebase_source : 7a82a9de8b40476239a11d92fe18ecb0ef71cb4f
This commit is contained in:
Родитель
a6674a0908
Коммит
9e2d610084
|
@ -4013,8 +4013,7 @@ CSS_PROP_TEXT(
|
||||||
TextIndent,
|
TextIndent,
|
||||||
CSS_PROPERTY_PARSE_VALUE |
|
CSS_PROPERTY_PARSE_VALUE |
|
||||||
CSS_PROPERTY_STORES_CALC |
|
CSS_PROPERTY_STORES_CALC |
|
||||||
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
|
CSS_PROPERTY_UNITLESS_LENGTH_QUIRK,
|
||||||
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH,
|
|
||||||
"",
|
"",
|
||||||
VARIANT_HLP | VARIANT_CALC,
|
VARIANT_HLP | VARIANT_CALC,
|
||||||
nullptr,
|
nullptr,
|
||||||
|
|
|
@ -3853,8 +3853,7 @@ already_AddRefed<CSSValue>
|
||||||
nsComputedDOMStyle::DoGetTextIndent()
|
nsComputedDOMStyle::DoGetTextIndent()
|
||||||
{
|
{
|
||||||
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
|
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
|
||||||
SetValueToCoord(val, StyleText()->mTextIndent, false,
|
SetValueToCoord(val, StyleText()->mTextIndent, false);
|
||||||
&nsComputedDOMStyle::GetCBContentWidth);
|
|
||||||
return val.forget();
|
return val.forget();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче