<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/images/4" class="C" scope="wml:hspace" testtype="application" type="manual" source="wml13#11.9" device="both">
  <assertion>When the HSPACE attribute of the IMG element is specified as a length, it
defines the horizontal whitespace to be inserted to the left and right of the image.
</assertion>
  <specnote>The hspace attribute value is tested using two images with two absolute values of 8 and 16 respectively. The test prompt checks that whitespace exists to the left and right of 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 following image has a hspace attribute with length set to 8 (absolute), so there is a small horizontal space to the left and right of it: <img src="rainy.wbmp" alt="WBMP Image" hspace="8"/>
The following image has a hspace attribute with length set to 16 (absolute), so there is a larger horizontal space to the left and right of it: <img src="rainy.wbmp" alt="WBMP Image" hspace="16"/>
This is more text after the second image.
</p>
<p mode="wrap">Is there whitespace to the left and right of the first image AND a larger whitespace to the left and right of the second image ?
<br />
<yesno>
</p>
</card>]]>
  </method>
</test>

