Bug 1241723. Update WebKitCSSMatrix.idl to match latest spec updates. r=baku

The following methods have been updated to match WebKit's behavior,
taking optional arguments that default to 0:

rotateAxisAngle()
skewX()
skewY()
translate()
This commit is contained in:
Mike Taylor 2016-01-26 17:48:20 -06:00
Родитель 10d60e258b
Коммит d8112ef98f
1 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -20,19 +20,19 @@ interface WebKitCSSMatrix : DOMMatrix {
// Immutable transform methods
WebKitCSSMatrix multiply(WebKitCSSMatrix other);
WebKitCSSMatrix inverse();
WebKitCSSMatrix translate(unrestricted double tx,
unrestricted double ty,
unrestricted double tz);
WebKitCSSMatrix translate(optional unrestricted double tx = 0,
optional unrestricted double ty = 0,
optional unrestricted double tz = 0);
WebKitCSSMatrix scale(optional unrestricted double scaleX = 1,
optional unrestricted double scaleY,
optional unrestricted double scaleZ = 1);
WebKitCSSMatrix rotate(optional unrestricted double rotX = 0,
optional unrestricted double rotY,
optional unrestricted double rotZ);
WebKitCSSMatrix rotateAxisAngle(unrestricted double x,
unrestricted double y,
unrestricted double z,
unrestricted double angle);
WebKitCSSMatrix skewX(unrestricted double sx);
WebKitCSSMatrix skewY(unrestricted double sy);
WebKitCSSMatrix rotateAxisAngle(optional unrestricted double x = 0,
optional unrestricted double y = 0,
optional unrestricted double z = 0,
optional unrestricted double angle = 0);
WebKitCSSMatrix skewX(optional unrestricted double sx = 0);
WebKitCSSMatrix skewY(optional unrestricted double sy = 0);
};