Backed out changeset 6fb4628a5eeb because it landed with the wrong bug number

This commit is contained in:
Daniel Holbert 2015-12-22 22:49:30 -08:00
parent eeb294ebe8
commit 9464c0917c
2 changed files with 0 additions and 4 deletions

View File

@ -10392,12 +10392,9 @@ CSSParserImpl::ParseWebkitGradientColorStops(nsCSSValueGradient* aGradient)
nsCSSValueGradientStop* stop1 = aGradient->mStops.AppendElement();
stop1->mColor.SetIntegerColorValue(NS_RGBA(0, 0, 0, 0),
eCSSUnit_RGBAColor);
stop1->mLocation.SetPercentValue(0.0f);
nsCSSValueGradientStop* stop2 = aGradient->mStops.AppendElement();
stop2->mColor.SetIntegerColorValue(NS_RGBA(0, 0, 0, 0),
eCSSUnit_RGBAColor);
stop2->mLocation.SetPercentValue(1.0f);
} else if (aGradient->mStops.Length() == 1) {
// Copy whatever the author provided in the first stop:
nsCSSValueGradientStop* stop = aGradient->mStops.AppendElement();

View File

@ -684,7 +684,6 @@ if (IsCSSPropertyPrefEnabled("layout.css.prefixes.webkit")) {
// radial w/ no color stops (valid) and a several different radius values:
"-webkit-gradient(radial, 1 2, 8, 3 4, 9)",
"-webkit-gradient(radial, 0 0, 10, 0 0, 5)",
"-webkit-gradient(radial, 1 2, -1.5, center center, +99999.9999)",
// radial w/ color stops