| Index: Source/core/css/WebKitCSSMatrix.idl
|
| diff --git a/Source/core/css/WebKitCSSMatrix.idl b/Source/core/css/WebKitCSSMatrix.idl
|
| index fa581b4fcd24a5b57889d4eaef9b8d0b0106384f..b3232daf141e680867222954011ec9834626fbbb 100644
|
| --- a/Source/core/css/WebKitCSSMatrix.idl
|
| +++ b/Source/core/css/WebKitCSSMatrix.idl
|
| @@ -20,7 +20,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| // Introduced in DOM Level ?:
|
| @@ -56,39 +56,39 @@
|
| attribute double m44;
|
|
|
| [RaisesException] void setMatrixValue([Default=Undefined] optional DOMString string);
|
| -
|
| +
|
| // Multiply this matrix by secondMatrix, on the right (result = this * secondMatrix)
|
| [Immutable] WebKitCSSMatrix multiply([Default=Undefined] optional WebKitCSSMatrix secondMatrix);
|
| -
|
| +
|
| // Return the inverse of this matrix. Throw an exception if the matrix is not invertible
|
| [Immutable, RaisesException] WebKitCSSMatrix inverse();
|
| -
|
| +
|
| // Return this matrix translated by the passed values.
|
| - // Passing a NaN will use a value of 0. This allows the 3D form to used for 2D operations
|
| - [Immutable] WebKitCSSMatrix translate([Default=Undefined] optional double x,
|
| - [Default=Undefined] optional double y,
|
| + // Passing a NaN will use a value of 0. This allows the 3D form to used for 2D operations
|
| + [Immutable] WebKitCSSMatrix translate([Default=Undefined] optional double x,
|
| + [Default=Undefined] optional double y,
|
| [Default=Undefined] optional double z);
|
| -
|
| +
|
| // Returns this matrix scaled by the passed values.
|
| - // Passing scaleX or scaleZ as NaN uses a value of 1, but passing scaleY of NaN
|
| + // Passing scaleX or scaleZ as NaN uses a value of 1, but passing scaleY of NaN
|
| // makes it the same as scaleX. This allows the 3D form to used for 2D operations
|
| - [Immutable] WebKitCSSMatrix scale([Default=Undefined] optional double scaleX,
|
| - [Default=Undefined] optional double scaleY,
|
| + [Immutable] WebKitCSSMatrix scale([Default=Undefined] optional double scaleX,
|
| + [Default=Undefined] optional double scaleY,
|
| [Default=Undefined] optional double scaleZ);
|
| -
|
| +
|
| // Returns this matrix rotated by the passed values.
|
| // If rotY and rotZ are NaN, rotate about Z (rotX=0, rotateY=0, rotateZ=rotX).
|
| - // Otherwise use a rotation value of 0 for any passed NaN.
|
| - [Immutable] WebKitCSSMatrix rotate([Default=Undefined] optional double rotX,
|
| - [Default=Undefined] optional double rotY,
|
| + // Otherwise use a rotation value of 0 for any passed NaN.
|
| + [Immutable] WebKitCSSMatrix rotate([Default=Undefined] optional double rotX,
|
| + [Default=Undefined] optional double rotY,
|
| [Default=Undefined] optional double rotZ);
|
| -
|
| +
|
| // Returns this matrix rotated about the passed axis by the passed angle.
|
| // Passing a NaN will use a value of 0. If the axis is (0,0,0) use a value
|
| // of (0,0,1).
|
| - [Immutable] WebKitCSSMatrix rotateAxisAngle([Default=Undefined] optional double x,
|
| - [Default=Undefined] optional double y,
|
| - [Default=Undefined] optional double z,
|
| + [Immutable] WebKitCSSMatrix rotateAxisAngle([Default=Undefined] optional double x,
|
| + [Default=Undefined] optional double y,
|
| + [Default=Undefined] optional double z,
|
| [Default=Undefined] optional double angle);
|
|
|
| // Returns this matrix skewed along the X axis by the passed values.
|
|
|