OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 [CEReactions, Reflect] attribute unsigned long hspace; | 48 [CEReactions, Reflect] attribute unsigned long hspace; |
49 [CEReactions, Reflect] attribute unsigned long vspace; | 49 [CEReactions, Reflect] attribute unsigned long vspace; |
50 [CEReactions, Reflect, URL] attribute DOMString longDesc; | 50 [CEReactions, Reflect, URL] attribute DOMString longDesc; |
51 | 51 |
52 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString border; | 52 [CEReactions, Reflect, TreatNullAs=EmptyString] attribute DOMString border; |
53 | 53 |
54 // CSSOM View Module | 54 // CSSOM View Module |
55 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlimageelement-i
nterface | 55 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlimageelement-i
nterface |
56 [MeasureAs=HTMLImageElementX] readonly attribute long x; | 56 [MeasureAs=HTMLImageElementX] readonly attribute long x; |
57 [MeasureAs=HTMLImageElementY] readonly attribute long y; | 57 [MeasureAs=HTMLImageElementY] readonly attribute long y; |
| 58 |
| 59 [RuntimeEnabled=JSImageDecode, CallWith=ScriptState, RaisesException] Promis
e decode(); |
58 }; | 60 }; |
OLD | NEW |