зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
8015da3cef
Коммит
38ff952014
|
@ -95,6 +95,9 @@ SERIALIZED_PREDEFINED_TYPES = [
|
||||||
"FontWeight",
|
"FontWeight",
|
||||||
"Integer",
|
"Integer",
|
||||||
"Length",
|
"Length",
|
||||||
|
"LengthOrPercentage",
|
||||||
|
"NonNegativeLength",
|
||||||
|
"NonNegativeLengthOrPercentage",
|
||||||
"ListStyleType",
|
"ListStyleType",
|
||||||
"Opacity",
|
"Opacity",
|
||||||
"url::ImageUrlOrNone",
|
"url::ImageUrlOrNone",
|
||||||
|
|
|
@ -3396,14 +3396,6 @@ nsComputedDOMStyle::DoGetTextEmphasisStyle()
|
||||||
return valueList.forget();
|
return valueList.forget();
|
||||||
}
|
}
|
||||||
|
|
||||||
already_AddRefed<CSSValue>
|
|
||||||
nsComputedDOMStyle::DoGetTextIndent()
|
|
||||||
{
|
|
||||||
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
|
|
||||||
SetValueToCoord(val, StyleText()->mTextIndent, false);
|
|
||||||
return val.forget();
|
|
||||||
}
|
|
||||||
|
|
||||||
already_AddRefed<CSSValue>
|
already_AddRefed<CSSValue>
|
||||||
nsComputedDOMStyle::DoGetTextOverflow()
|
nsComputedDOMStyle::DoGetTextOverflow()
|
||||||
{
|
{
|
||||||
|
@ -5088,14 +5080,6 @@ nsComputedDOMStyle::DoGetClipPath()
|
||||||
nsCSSProps::kClipPathGeometryBoxKTable);
|
nsCSSProps::kClipPathGeometryBoxKTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
already_AddRefed<CSSValue>
|
|
||||||
nsComputedDOMStyle::DoGetShapeMargin()
|
|
||||||
{
|
|
||||||
RefPtr<nsROCSSPrimitiveValue> val = new nsROCSSPrimitiveValue;
|
|
||||||
SetValueToCoord(val, StyleDisplay()->mShapeMargin, true);
|
|
||||||
return val.forget();
|
|
||||||
}
|
|
||||||
|
|
||||||
already_AddRefed<CSSValue>
|
already_AddRefed<CSSValue>
|
||||||
nsComputedDOMStyle::DoGetShapeOutside()
|
nsComputedDOMStyle::DoGetShapeOutside()
|
||||||
{
|
{
|
||||||
|
|
|
@ -374,7 +374,6 @@ private:
|
||||||
already_AddRefed<CSSValue> DoGetTextDecorationStyle();
|
already_AddRefed<CSSValue> DoGetTextDecorationStyle();
|
||||||
already_AddRefed<CSSValue> DoGetTextEmphasisPosition();
|
already_AddRefed<CSSValue> DoGetTextEmphasisPosition();
|
||||||
already_AddRefed<CSSValue> DoGetTextEmphasisStyle();
|
already_AddRefed<CSSValue> DoGetTextEmphasisStyle();
|
||||||
already_AddRefed<CSSValue> DoGetTextIndent();
|
|
||||||
already_AddRefed<CSSValue> DoGetTextOverflow();
|
already_AddRefed<CSSValue> DoGetTextOverflow();
|
||||||
already_AddRefed<CSSValue> DoGetTextShadow();
|
already_AddRefed<CSSValue> DoGetTextShadow();
|
||||||
already_AddRefed<CSSValue> DoGetLetterSpacing();
|
already_AddRefed<CSSValue> DoGetLetterSpacing();
|
||||||
|
@ -416,7 +415,6 @@ private:
|
||||||
already_AddRefed<CSSValue> DoGetScrollSnapCoordinate();
|
already_AddRefed<CSSValue> DoGetScrollSnapCoordinate();
|
||||||
already_AddRefed<CSSValue> DoGetScrollbarFaceColor();
|
already_AddRefed<CSSValue> DoGetScrollbarFaceColor();
|
||||||
already_AddRefed<CSSValue> DoGetScrollbarTrackColor();
|
already_AddRefed<CSSValue> DoGetScrollbarTrackColor();
|
||||||
already_AddRefed<CSSValue> DoGetShapeMargin();
|
|
||||||
already_AddRefed<CSSValue> DoGetShapeOutside();
|
already_AddRefed<CSSValue> DoGetShapeOutside();
|
||||||
|
|
||||||
/* User interface properties */
|
/* User interface properties */
|
||||||
|
|
|
@ -2,12 +2,3 @@
|
||||||
[calc((12.5%*6 + 10in) / 4) - inline style]
|
[calc((12.5%*6 + 10in) / 4) - inline style]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[calc(30%) - computed style]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[calc(100%/4) - computed style]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[calc(25%*3) - computed style]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче