chromium/third_party/blink/renderer/core/css/cssom/css_translate.idl

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Represents a translation value in a CSSTransformValue used for properties
// like "transform".
// Spec: https://drafts.css-houdini.org/css-typed-om/#csstranslate
[
    Exposed=(Window,LayoutWorklet,PaintWorklet)
] interface CSSTranslate : CSSTransformComponent {
    [RaisesException] constructor(CSSNumericValue x, CSSNumericValue y,
        optional CSSNumericValue z);
    [RaisesException=Setter] attribute CSSNumericValue x;
    [RaisesException=Setter] attribute CSSNumericValue y;
    [RaisesException=Setter] attribute CSSNumericValue z;
};