| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 5 * Copyright (C) 2006 Apple Inc. All rights reserved. | 5 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 const unsigned short SVG_LENGTHTYPE_EMS = 3; | 28 const unsigned short SVG_LENGTHTYPE_EMS = 3; |
| 29 const unsigned short SVG_LENGTHTYPE_EXS = 4; | 29 const unsigned short SVG_LENGTHTYPE_EXS = 4; |
| 30 const unsigned short SVG_LENGTHTYPE_PX = 5; | 30 const unsigned short SVG_LENGTHTYPE_PX = 5; |
| 31 const unsigned short SVG_LENGTHTYPE_CM = 6; | 31 const unsigned short SVG_LENGTHTYPE_CM = 6; |
| 32 const unsigned short SVG_LENGTHTYPE_MM = 7; | 32 const unsigned short SVG_LENGTHTYPE_MM = 7; |
| 33 const unsigned short SVG_LENGTHTYPE_IN = 8; | 33 const unsigned short SVG_LENGTHTYPE_IN = 8; |
| 34 const unsigned short SVG_LENGTHTYPE_PT = 9; | 34 const unsigned short SVG_LENGTHTYPE_PT = 9; |
| 35 const unsigned short SVG_LENGTHTYPE_PC = 10; | 35 const unsigned short SVG_LENGTHTYPE_PC = 10; |
| 36 | 36 |
| 37 readonly attribute unsigned short unitType; | 37 readonly attribute unsigned short unitType; |
| 38 [Custom, StrictTypeChecking, GetterRaisesException, SetterRaisesException] a
ttribute float value; | 38 [Custom, StrictTypeChecking, RaisesException] attribute float value; |
| 39 | 39 |
| 40 [StrictTypeChecking] attribute float valueInSpecifiedUnits; | 40 [StrictTypeChecking] attribute float valueInSpecifiedUnits; |
| 41 [TreatNullAs=NullString, StrictTypeChecking, SetterRaisesException] attribut
e DOMString valueAsString; | 41 [TreatNullAs=NullString, StrictTypeChecking, RaisesException=Setter] attribu
te DOMString valueAsString; |
| 42 | 42 |
| 43 [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned s
hort unitType, | 43 [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned s
hort unitType, |
| 44 float valueInSpecifiedUnits
); | 44 float valueInSpecifiedUnits
); |
| 45 | 45 |
| 46 [Custom, StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(u
nsigned short unitType); | 46 [Custom, StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(u
nsigned short unitType); |
| 47 }; | 47 }; |
| 48 | 48 |
| OLD | NEW |