// 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 <position> value, i.e. a coordinate for properties like
// background-position.
// Spec: https://drafts.css-houdini.org/css-typed-om/#positionvalue-objects
[
Exposed=(Window,LayoutWorklet,PaintWorklet)
] interface CSSPositionValue : CSSStyleValue {
[RaisesException] constructor(CSSNumericValue x, CSSNumericValue y);
[RaisesException=Setter] attribute CSSNumericValue x;
[RaisesException=Setter] attribute CSSNumericValue y;
};