blob: acacca5df01c6257f0a97e8bf72cc861195684f0 [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.
// CSSUnparsedValue objects represent values that reference custom properties.
// They represent a list of string fragments and variable references.
// Spec: https://drafts.css-houdini.org/css-typed-om/#unparsedvalue-objects
[
Exposed(Window CSSTypedOM, PaintWorklet CSSTypedOM)
] interface CSSUnparsedValue : CSSStyleValue {
// https://github.com/w3c/css-houdini-drafts/issues/358
readonly attribute unsigned long length;
[ImplementedAs=fragmentAtIndex] getter (DOMString or CSSVariableReferenceValue) (unsigned long index);
iterable<(DOMString or CSSVariableReferenceValue)>;
};