| // 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. |
| |
| // https://drafts.css-houdini.org/css-typed-om/#enumdef-cssnumericbasetype |
| enum CSSNumericBaseType { |
| "length", |
| "angle", |
| "time", |
| "frequency", |
| "resolution", |
| "flex", |
| "percent", |
| }; |
| |
| // https://drafts.css-houdini.org/css-typed-om/#dictdef-cssnumerictype |
| dictionary CSSNumericType { |
| long length; |
| long angle; |
| long time; |
| long frequency; |
| long resolution; |
| long flex; |
| long percent; |
| CSSNumericBaseType percentHint; |
| }; |