blob: 870a71261256d7584822259fd3e9e0bf520382b5 [file] [log] [blame]
// Copyright 2015 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.
typedef (DOMString or CSSKeywordValue) CSSKeywordish;
// CSSKeywordValue represents CSS Values that are specified as keywords, for
// example "initial".
// https://drafts.css-houdini.org/css-typed-om/#keywordvalue-objects
[
Exposed=(Window,LayoutWorklet,PaintWorklet)
] interface CSSKeywordValue : CSSStyleValue {
[RaisesException] constructor(CSSOMString keyword);
[RaisesException=Setter] attribute CSSOMString value;
};