зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1366544 - stylo: Implement -moz-prefixed linear gradients. r=Manishearth
MozReview-Commit-ID: JnBZxEA0D7T
This commit is contained in:
Родитель
1fb5baeb50
Коммит
761893bfa4
|
@ -1464,6 +1464,7 @@ Gecko_CreateGradient(uint8_t aShape,
|
|||
uint8_t aSize,
|
||||
bool aRepeating,
|
||||
bool aLegacySyntax,
|
||||
bool aMozLegacySyntax,
|
||||
uint32_t aStopCount)
|
||||
{
|
||||
nsStyleGradient* result = new nsStyleGradient();
|
||||
|
@ -1472,6 +1473,7 @@ Gecko_CreateGradient(uint8_t aShape,
|
|||
result->mSize = aSize;
|
||||
result->mRepeating = aRepeating;
|
||||
result->mLegacySyntax = aLegacySyntax;
|
||||
result->mMozLegacySyntax = aMozLegacySyntax;
|
||||
|
||||
result->mAngle.SetNoneValue();
|
||||
result->mBgPosX.SetNoneValue();
|
||||
|
|
|
@ -318,6 +318,7 @@ nsStyleGradient* Gecko_CreateGradient(uint8_t shape,
|
|||
uint8_t size,
|
||||
bool repeating,
|
||||
bool legacy_syntax,
|
||||
bool moz_legacy_syntax,
|
||||
uint32_t stops);
|
||||
|
||||
// list-style-image style.
|
||||
|
|
Загрузка…
Ссылка в новой задаче