// 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.

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