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 12 matching lines...) Expand all Loading... |
23 [ | 23 [ |
24 NamedConstructor=Image([Default=Undefined] optional long width, [Default=Und
efined] optional long height), | 24 NamedConstructor=Image([Default=Undefined] optional long width, [Default=Und
efined] optional long height), |
25 ConstructorCallWith=Document | 25 ConstructorCallWith=Document |
26 ] interface HTMLImageElement : HTMLElement { | 26 ] interface HTMLImageElement : HTMLElement { |
27 readonly attribute boolean complete; | 27 readonly attribute boolean complete; |
28 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo
us", ReflectInvalid="anonymous"] attribute DOMString crossOrigin; | 28 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo
us", ReflectInvalid="anonymous"] attribute DOMString crossOrigin; |
29 attribute long height; | 29 attribute long height; |
30 readonly attribute long naturalHeight; | 30 readonly attribute long naturalHeight; |
31 readonly attribute long naturalWidth; | 31 readonly attribute long naturalWidth; |
32 [Reflect, URL] attribute DOMString src; | 32 [Reflect, URL] attribute DOMString src; |
33 [RuntimeEnabled=PictureSizes] readonly attribute DOMString currentSrc; | 33 readonly attribute DOMString currentSrc; |
34 attribute long width; | 34 attribute long width; |
35 | 35 |
36 // Extensions | 36 // Extensions |
37 [MeasureAs=HTMLImageElementX] readonly attribute long x; | 37 readonly attribute long x; |
38 [MeasureAs=HTMLImageElementY] readonly attribute long y; | 38 readonly attribute long y; |
39 }; | 39 }; |
OLD | NEW |