blob: c00d6c4dc421876ec8f4008e9d8030ba09b9d85b [file] [log] [blame]
// Copyright 2017 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 numeric values that can be expressed as a single number plus a
// unit (or a naked number or percentage).
Constructor(double value, DOMString unit),
] interface CSSUnitValue : CSSNumericValue {
[EnforceRange] attribute double value;
[RaisesException=Setter] attribute DOMString unit;
readonly attribute DOMString type;