blob: 2468a851b1ea59c86eaea4c90891713a6d0eb14c [file] [log] [blame]
// 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(CSSLengthValue x, CSSLengthValue y),
Constructor(CSSLengthValue x, CSSLengthValue y, CSSLengthValue z),
Exposed=(Window,PaintWorklet),
RaisesException=Constructor,
RuntimeEnabled=CSSTypedOM
] interface CSSTranslation : TransformComponent {
readonly attribute CSSLengthValue x;
readonly attribute CSSLengthValue y;
readonly attribute CSSLengthValue z;
};