blob: 4135a61f404d6726a1ae2587b7fb435eb4ffb2b0 [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.
// Represents a CSS var() reference in a CSS value.
// Spec: https://drafts.css-houdini.org/css-typed-om/#cssvariablereferencevalue
[
Exposed=(Window,PaintWorklet),
RuntimeEnabled=CSSTypedOM,
ImplementedAs=CSSStyleVariableReferenceValue
] interface CSSVariableReferenceValue {
readonly attribute DOMString variable;
readonly attribute CSSUnparsedValue fallback;
};