mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 6fb4628a5eeb because it landed with the wrong bug number
This commit is contained in:
parent
eeb294ebe8
commit
9464c0917c
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user