structure-allElements-BE-09.svg

Here some comments about the structure-allElements-BE-09.svg test.
Comments are directly included in an excerpt of the svg file and are
prefixed with !!!!!


<svg   id="structure-allElements-BE-09"  width="450" height="450" >


<title id="test-title">structure-allElements-BE-09</title>
<desc id="test-desc">The purpose of this test so it test all the structure
elements referenced in chapter 6 in one test file</desc>



<!--
====================================================================== -->
<!-- Content of Test Case follows...
===================== -->
<!--
====================================================================== -->

<g    id="test-body-content">

     <g id="square1">
          <symbol id="symbol1">
              <image id="image1" x="0" y="0" width="225" height="225"
xlink:href="image1.jpg" />
          </symbol>
          <g>
               <use x="0" y="0" width="225" height="225" xlink:href="
#image1" />
          </g>
     </g>

     <g id="square2">
          <defs>
              <linearGradient id="Gradient01" x1="225" y1="0" x2="450" y2
="0">
                <stop offset="50%" style="stop-color:red"/>
              </linearGradient>
                 </defs>
                 <rect x="225" y="0" width="225" height="225" style
="fill:url(#Gradient01)" />
      </g>

         <svg id="square3" x="0" y="225" width="225" height="225">
         <g>
          <rect style="fill:cyan" x="0" y="225" width="225" height="225" />
!!!!!
!!!!!  To achieve what the png file shows, the rect should be defined as
!!!!!      <rect style="fill:cyan" x="0" y="0" width="225" height="225" />
!!!!!  As the sgv element established a new viewport at (0,225,225,225);
!!!!!
     </g>



      </svg>



      <g id="square4">

         <switch system-required="org.w3c.static" system-language="en">
          <rect style="fill:red" x="225" y="225" width="225" height="225"
system-required="org.w3c.static" system-language=""/>
          <rect style="fill:blue" x="225" y="225" width="225" height="225"
system-required="org.w3c.static" system-language=""/>
          <rect style="fill:green" x="225" y="225" width="225" height="225"
system-required="org.w3c.static" system-language="en"/>
          <rect style="fill:yellow" x="225" y="225" width="225" height
="225" system-required="org.w3c.static" system-language=""/>
         </switch>

!!!!!!
!!!!!!   You expect the green square to be displayed. But it will be only
displayed if the user-agent supports
!!!!!!   the english language and not because you set system-language="en"
on the switch statement.
!!!!!!   You should redefine this part of the test to have several area
associated to any language (""), to
!!!!!!   several widely used languages (en,fr.....) and the last one
associated to all languages.
!!!!!!   The rect should embed a text containing the language used.
!!!!!!

     </g>
</g>



Bernard SNYERS
IONIC SOFTWARE

Received on Thursday, 10 August 2000 02:25:05 UTC