blob: cf3a8ca21a1b4e2072b5b0a1e2c58acabe8aabe0 [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.
// 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;
};