dcorking / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
0 stars 0 forks source link

style/verticalAlign ignored by images and gadgets #890

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Suppose I have a blip with some text and an image. If I apply the annotation { 
"style/verticalAlign" : "top" } to the entire blip, then the generated html 
will be something like

<span style="vertical-align: top; ">text</span>
<img ...>
<span style="vertical-align: top; ">the remaining text</span>

In particular, the image does not have the "vertical-align: top" style, even 
though the image lies within the range of the "style/verticalAlign" annotation 
in the blip's contents.

The same problem occurs with gadgets instead of images (this is relevant for 
inline gadgets, where verticalAlign actually plays a role).

This is important to me because I would like precise control of vertical 
alignment of images in Waves so that my LaTeX robot's images are correctly 
aligned with the text.

Original issue reported on code.google.com by reiner.p...@gmail.com on 29 Dec 2010 at 10:51