annotate etc/schema/xhtml-image.rnc @ 109334:603e7bce46eb
Fix size calculation for sliced images in image-mode (Bug#6639).
* lisp/image-mode.el (image-display-size): New function.
(image-forward-hscroll, image-next-line, image-eol, image-eob)
(image-mode-fit-frame): Use it (Bug#6639).
author |
Chong Yidong <cyd@stupidchicken.com> |
date |
Sat, 17 Jul 2010 17:51:04 -0400 |
parents |
38f93f3d00a2 |
children |
|
rev |
line source |
86361
|
1 # Image Module
|
|
2
|
|
3 img = element img { img.attlist }
|
|
4 img.attlist =
|
|
5 Common.attrib,
|
|
6 attribute src { URI.datatype },
|
|
7 attribute alt { Text.datatype },
|
|
8 attribute longdesc { URI.datatype }?,
|
|
9 attribute height { Length.datatype }?,
|
|
10 attribute width { Length.datatype }?
|
|
11 Inline.class |= img
|