y property
int
get
y
The read-only HTMLImageElement property
y
indicates the y-coordinate of the
img
element's top border edge relative to the root element's
origin.
The HTMLImageElement.x and y
properties are only valid
for an image if its display
property has the computed value
table-column
or table-column-group
. In other words: it has
either of those values set explicitly on it, or it has inherited it from a
containing
element, or by being located within a column described by either
col
or colgroup
.
Implementation
external int get y;