Skip to content

[geometry-1] rotateSelf doesn't seem to be clearly defined #354

@bzbarsky

Description

@bzbarsky

https://www.w3.org/TR/geometry-1/#dom-dommatrix-rotateself step 6 says:

Post-multiply a rotation transformation on the current matrix around the vector 0, 1, 0 by the specified rotation rotY in degrees. The 3D rotation matrix is described in CSS Transforms with alpha = rotY in degrees. [CSS3-TRANSFORMS]

and the "described" text links to https://drafts.csswg.org/css-transforms-1/#RotateDefined which is a definition for a 2-d rotation, which is not what we are looking for here at all: I would have expected a definition of rotation around a given vector/axis by a given angle alpha.

I would have expected this to link to https://drafts.csswg.org/css-transforms-2/#Rotate3dDefined or something.

@zcorpan @dirkschulze

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions