зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset d6cca05b4e9f (bug 1217031) for issues in 2d.pattern.image.incomplete.immediate.html
This commit is contained in:
Родитель
caa14246b6
Коммит
dabe843f8b
|
@ -2174,6 +2174,7 @@ CanvasRenderingContext2D::CreatePattern(const CanvasImageSource& aSource,
|
||||||
nsLayoutUtils::SFE_WANT_FIRST_FRAME, mTarget);
|
nsLayoutUtils::SFE_WANT_FIRST_FRAME, mTarget);
|
||||||
|
|
||||||
if (!res.GetSourceSurface()) {
|
if (!res.GetSourceSurface()) {
|
||||||
|
aError.Throw(NS_ERROR_NOT_AVAILABLE);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ interface CanvasRenderingContext2D {
|
||||||
[NewObject, Throws]
|
[NewObject, Throws]
|
||||||
CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1);
|
CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1);
|
||||||
[NewObject, Throws]
|
[NewObject, Throws]
|
||||||
CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);
|
CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);
|
||||||
|
|
||||||
// shadows
|
// shadows
|
||||||
[LenientFloat]
|
[LenientFloat]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче