Index: third_party/WebKit/Source/core/css/cssom/CSSTranslation.idl |
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.idl b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.idl |
index 79dc8cacedbbe13213d29aa519dd9d65837027f4..34b06041df0e3e177c1c4994004d5d060ad55ece 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.idl |
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.idl |
@@ -6,13 +6,13 @@ |
// like "transform". |
// Spec: https://drafts.css-houdini.org/css-typed-om/#csstranslation |
[ |
- Constructor(CSSLengthValue x, CSSLengthValue y), |
- Constructor(CSSLengthValue x, CSSLengthValue y, CSSLengthValue z), |
+ Constructor(CSSNumericValue x, CSSNumericValue y), |
+ Constructor(CSSNumericValue x, CSSNumericValue y, CSSNumericValue z), |
Exposed=(Window,PaintWorklet), |
RaisesException=Constructor, |
RuntimeEnabled=CSSTypedOM |
] interface CSSTranslation : CSSTransformComponent { |
- readonly attribute CSSLengthValue x; |
- readonly attribute CSSLengthValue y; |
- readonly attribute CSSLengthValue z; |
+ readonly attribute CSSNumericValue x; |
+ readonly attribute CSSNumericValue y; |
+ readonly attribute CSSNumericValue z; |
}; |