STANDARDS mode.

1. 'alt' attribute is not set (image box should not collapse):


2. 'alt' attribute is set to a non-empty value (image box should not collapse):
 text

3. 'alt' attribute is set to empty value (image box should collapse):


4. 'alt' attribute is set to empty value on a blockified image (image box should not collapse):


5. 'alt' attribute is set to empty value and width/height values are set (image box should collapse):
width attribute is set:
height attribute is set:
width and height attributes are set:
inline style with width set:
inline style with height set:
inline style with width and height: