view 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
line wrap: on
line source

# Image Module

img = element img { img.attlist }
img.attlist =
  Common.attrib,
  attribute src { URI.datatype },
  attribute alt { Text.datatype },
  attribute longdesc { URI.datatype }?,
  attribute height { Length.datatype }?,
  attribute width { Length.datatype }?
Inline.class |= img