Bug 1292447: part 3 - Get text-indent prop resolved to computed value.
MozReview-Commit-ID: 4xp4iLzcn5S
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -4008,18 +4008,17 @@ CSS_PROP_TEXT(
offsetof(nsStyleText, mWebkitTextFillColor),
eStyleAnimType_ComplexColor)
CSS_PROP_TEXT(
text-indent,
text_indent,
TextIndent,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
- CSS_PROPERTY_UNITLESS_LENGTH_QUIRK |
- CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH,
+ CSS_PROPERTY_UNITLESS_LENGTH_QUIRK,
"",
VARIANT_HLP | VARIANT_CALC,
nullptr,
offsetof(nsStyleText, mTextIndent),
eStyleAnimType_Coord)
CSS_PROP_VISIBILITY(
text-orientation,
text_orientation,
--- a/layout/style/nsComputedDOMStyle.cpp
+++ b/layout/style/nsComputedDOMStyle.cpp
@@ -3848,18 +3848,17 @@ nsComputedDOMStyle::DoGetTextEmphasisSty
valueList->AppendCSSValue(shapeVal.forget());
return valueList.forget();
}
already_AddRefed<CSSValue>
nsComputedDOMStyle::DoGetTextIndent()
{
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
- SetValueToCoord(val, StyleText()->mTextIndent, false,
- &nsComputedDOMStyle::GetCBContentWidth);
+ SetValueToCoord(val, StyleText()->mTextIndent, false);
return val.forget();
}
already_AddRefed<CSSValue>
nsComputedDOMStyle::DoGetTextOrientation()
{
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
val->SetIdent(