Index: core/css/cssom/Translation.idl |
diff --git a/core/css/cssom/Translation.idl b/core/css/cssom/Translation.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..464b7cd2c5324448299993cb82a7f22e806ee5fa |
--- /dev/null |
+++ b/core/css/cssom/Translation.idl |
@@ -0,0 +1,15 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ Constructor(LengthValue x, LengthValue y), |
+ Constructor(LengthValue x, LengthValue y, LengthValue z), |
+ ImplementedAs=TranslationTransformComponent, |
+ RaisesException=Constructor, |
+ RuntimeEnabled=CSSTypedOM |
+] interface Translation : TransformComponent { |
+ readonly attribute LengthValue x; |
+ readonly attribute LengthValue y; |
+ readonly attribute LengthValue z; |
+}; |