<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/images/3" class="C" scope="wml:vspace" testtype="application" type="manual" source="wml13#11.9" device="both">
  <assertion>When the VSPACE attribute of the IMG element is specified as a length, it
defines the vertical whitespace to be inserted above and below the image.
</assertion>
  <specnote>The vspace attribute value is tested using two images with two absolute values of 8 and 16 respectively. The test prompt checks that whitespace exists above and below each image with the whitespace visibly greater around the second image.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>The first image has a vspace attribute with length set to 8 (absolute), so there is a small vertical space above and below it: <img src="rainy.wbmp" alt="WBMP Image" vspace="8"/>
The second image has a vspace attribute with length set to 16 (absolute), so there is a larger vertical space above and below it: <img src="rainy.wbmp" alt="WBMP Image" vspace="16"/>
This is more text after the second image.
</p>
<p mode="wrap">Is there whitespace above and below the first image AND is there a larger whitespace above and below the second image ?
<br />
<yesno>
</p>
</card>]]>
  </method>
</test>

