mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 632515 - Handle non-finite values for transform per spec; r=roc
This commit is contained in:
parent
52e0a6ab6d
commit
5580363e6a
@ -1440,7 +1440,7 @@ NS_IMETHODIMP
|
||||
nsCanvasRenderingContext2D::Transform(float m11, float m12, float m21, float m22, float dx, float dy)
|
||||
{
|
||||
if (!FloatValidate(m11,m12,m21,m22,dx,dy))
|
||||
return NS_ERROR_DOM_SYNTAX_ERR;
|
||||
return NS_OK;
|
||||
|
||||
gfxMatrix matrix(m11, m12, m21, m22, dx, dy);
|
||||
mThebes->Multiply(matrix);
|
||||
|
@ -18916,7 +18916,7 @@ isPixel(ctx, 50,25, 0,255,0,255, 0);
|
||||
} catch (e) {
|
||||
_thrown_outer = true;
|
||||
}
|
||||
todo(!_thrown_outer, 'should not throw exception');
|
||||
ok(!_thrown_outer, 'should not throw exception');
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user