Index: core/css/cssom/SimpleLength.idl |
diff --git a/core/css/cssom/SimpleLength.idl b/core/css/cssom/SimpleLength.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07c0b491fbcc64f1d62ea109242467f2d83d1fe9 |
--- /dev/null |
+++ b/core/css/cssom/SimpleLength.idl |
@@ -0,0 +1,12 @@ |
+// 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. |
+ |
+[ |
+ Constructor(double value, DOMString type), |
+ RaisesException=Constructor, |
+ RuntimeEnabled=CSSTypedOM |
+] interface SimpleLength : LengthValue { |
+ [EnforceRange] attribute double value; |
+ [ImplementedAs=unit] readonly attribute LengthType type; |
+}; |