blob: e539ea80e9afece79ec07d4d83756ac38d88932d [file] [log] [blame]
// Copyright 2018 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.
[
Exposed=(Window,LayoutWorklet,PaintWorklet)
] enum CSSNumericBaseType {
"length",
"angle",
"time",
"frequency",
"resolution",
"flex",
"percent",
};
// https://drafts.css-houdini.org/css-typed-om/#cssnumerictype
[
Exposed=(Window,LayoutWorklet,PaintWorklet)
] dictionary CSSNumericType {
long length;
long angle;
long time;
long frequency;
long resolution;
long flex;
long percent;
CSSNumericBaseType percentHint;
};