Skip to content

Commit

Permalink
Add CSS 2D/3D transform features (web-platform-dx#566)
Browse files Browse the repository at this point in the history
Because transforms exist in multiple other parts of the platform
(DOMMatrix, canvas, SVG) prefix the names with "CSS".
  • Loading branch information
foolip committed Feb 16, 2024
1 parent 454a221 commit dea8361
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
19 changes: 19 additions & 0 deletions feature-group-definitions/transforms2d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CSS 2D transforms
caniuse: transforms2d
spec: https://drafts.csswg.org/css-transforms-1/
compat_features:
- css.properties.transform
- css.properties.transform-box
- css.properties.transform-origin
- css.types.transform-function
- css.types.transform-function.matrix
- css.types.transform-function.rotate
- css.types.transform-function.scale
- css.types.transform-function.scaleX
- css.types.transform-function.scaleY
- css.types.transform-function.skew
- css.types.transform-function.skewX
- css.types.transform-function.skewY
- css.types.transform-function.translate
- css.types.transform-function.translateX
- css.types.transform-function.translateY
17 changes: 17 additions & 0 deletions feature-group-definitions/transforms3d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CSS 3D transforms
caniuse: transforms3d
spec: https://drafts.csswg.org/css-transforms-2/
compat_features:
- css.properties.transform-style
- css.properties.transform.3d
# https://drafts.csswg.org/css-transforms-2/#three-d-transform-functions
- css.types.transform-function.matrix3d
- css.types.transform-function.translate3d
- css.types.transform-function.translateZ
- css.types.transform-function.scale3d
- css.types.transform-function.scaleZ
- css.types.transform-function.rotate3d
- css.types.transform-function.rotateX
- css.types.transform-function.rotateY
- css.types.transform-function.rotateZ
- css.types.transform-function.perspective

0 comments on commit dea8361

Please sign in to comment.