Bug 1473225 - Serialize a few more lengths with Servo. r=xidorn

Differential Revision: https://phabricator.services.mozilla.com/D1934

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Emilio Cobos Álvarez 2018-07-04 06:42:38 +00:00
Родитель 8015da3cef
Коммит 38ff952014
4 изменённых файлов: 3 добавлений и 27 удалений

Просмотреть файл

@ -95,6 +95,9 @@ SERIALIZED_PREDEFINED_TYPES = [
"FontWeight",
"Integer",
"Length",
"LengthOrPercentage",
"NonNegativeLength",
"NonNegativeLengthOrPercentage",
"ListStyleType",
"Opacity",
"url::ImageUrlOrNone",

Просмотреть файл

@ -3396,14 +3396,6 @@ nsComputedDOMStyle::DoGetTextEmphasisStyle()
return valueList.forget();
}
already_AddRefed<CSSValue>
nsComputedDOMStyle::DoGetTextIndent()
{
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
SetValueToCoord(val, StyleText()->mTextIndent, false);
return val.forget();
}
already_AddRefed<CSSValue>
nsComputedDOMStyle::DoGetTextOverflow()
{
@ -5088,14 +5080,6 @@ nsComputedDOMStyle::DoGetClipPath()
nsCSSProps::kClipPathGeometryBoxKTable);
}
already_AddRefed<CSSValue>
nsComputedDOMStyle::DoGetShapeMargin()
{
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
SetValueToCoord(val, StyleDisplay()->mShapeMargin, true);
return val.forget();
}
already_AddRefed<CSSValue>
nsComputedDOMStyle::DoGetShapeOutside()
{

Просмотреть файл

@ -374,7 +374,6 @@ private:
already_AddRefed<CSSValue> DoGetTextDecorationStyle();
already_AddRefed<CSSValue> DoGetTextEmphasisPosition();
already_AddRefed<CSSValue> DoGetTextEmphasisStyle();
already_AddRefed<CSSValue> DoGetTextIndent();
already_AddRefed<CSSValue> DoGetTextOverflow();
already_AddRefed<CSSValue> DoGetTextShadow();
already_AddRefed<CSSValue> DoGetLetterSpacing();
@ -416,7 +415,6 @@ private:
already_AddRefed<CSSValue> DoGetScrollSnapCoordinate();
already_AddRefed<CSSValue> DoGetScrollbarFaceColor();
already_AddRefed<CSSValue> DoGetScrollbarTrackColor();
already_AddRefed<CSSValue> DoGetShapeMargin();
already_AddRefed<CSSValue> DoGetShapeOutside();
/* User interface properties */

Просмотреть файл

@ -2,12 +2,3 @@
[calc((12.5%*6 + 10in) / 4) - inline style]
expected: FAIL
[calc(30%) - computed style]
expected: FAIL
[calc(100%/4) - computed style]
expected: FAIL
[calc(25%*3) - computed style]
expected: FAIL