| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 Constructor(double value, DOMString type), | 6 Constructor(double value, DOMString type), |
| 7 Exposed=(Window,PaintWorklet), | 7 Exposed=(Window,PaintWorklet), |
| 8 RaisesException=Constructor, | 8 RaisesException=Constructor, |
| 9 RuntimeEnabled=CSSTypedOM | 9 RuntimeEnabled=CSSTypedOM |
| 10 ] interface CSSSimpleLength : CSSLengthValue { | 10 ] interface CSSSimpleLength : CSSLengthValue { |
| 11 [EnforceRange] attribute double value; | 11 [EnforceRange] readonly attribute double value; |
| 12 [ImplementedAs=unit] readonly attribute LengthType type; | 12 [ImplementedAs=unit] readonly attribute LengthType type; |
| 13 }; | 13 }; |
| OLD | NEW |