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

// CSSImageValue is the base class for Typed OM's representation of various
// image types.
// https://drafts.css-houdini.org/css-typed-om/#imagevalue-objects
[
    Exposed=(Window,PaintWorklet),
    RuntimeEnabled=CSSTypedOM,
    ImplementedAs=CSSStyleImageValue
] interface CSSImageValue : CSSResourceValue {
    readonly attribute double? intrinsicWidth;
    readonly attribute double? intrinsicHeight;
    readonly attribute double? intrinsicRatio;
};
