| 1 |
<svg version="1.1" baseProfile="tiny" id="svg-root" |
| 2 |
width="100%" height="100%" viewBox="0 0 480 360" |
| 3 |
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
<!--======================================================================--> |
| 5 |
<!--= SVG 1.1 2nd Edition Test Case =--> |
| 6 |
<!--======================================================================--> |
| 7 |
<!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> |
| 8 |
<!--= Institute of Technology, European Research Consortium for =--> |
| 9 |
<!--= Informatics and Mathematics (ERCIM), Keio University). =--> |
| 10 |
<!--= All Rights Reserved. =--> |
| 11 |
<!--= See http://www.w3.org/Consortium/Legal/. =--> |
| 12 |
<!--======================================================================--> |
| 13 |
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" |
| 14 |
template-version="1.4" reviewer="[reviewer]" author="CL" status="accepted" |
| 15 |
version="$Revision: 1.7 $" testname="$RCSfile: color-prop-04-t.svg,v $"> |
| 16 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/color.html#ColorProperty"> |
| 17 |
<p> |
| 18 |
This tests the 'system' colors. |
| 19 |
</p> |
| 20 |
</d:testDescription> |
| 21 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 22 |
<p>Run the test. No interaction required.</p> |
| 23 |
</d:operatorScript> |
| 24 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 25 |
<p> |
| 26 |
This test has no specific pass criteria, except that no error must be indicated. |
| 27 |
</p> |
| 28 |
<p> |
| 29 |
The colors on your screen might not match the reference |
| 30 |
image at all, but they should at minimum be legible and should |
| 31 |
preferably resemble the colors used on menus and other user interface |
| 32 |
elements on your computer, pda or phone. |
| 33 |
</p> |
| 34 |
</d:passCriteria> |
| 35 |
</d:SVGTestCase> |
| 36 |
<title id="test-title">$RCSfile: color-prop-04-t.svg,v $</title> |
| 37 |
<defs> |
| 38 |
<font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> |
| 39 |
<font-face-src> |
| 40 |
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> |
| 41 |
</font-face-src> |
| 42 |
</font-face> |
| 43 |
</defs> |
| 44 |
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> |
| 45 |
<g id="Scene_1" transform="translate(240, 180)"> |
| 46 |
<rect x="-230" y="-170" width="460" height="300" fill="Background"/> |
| 47 |
<rect x="-220" y="-160" width="440" height="280" fill="AppWorkspace"/> |
| 48 |
<rect x="-152" y="-108" width="317" height="221" fill="Window"/> |
| 49 |
<rect x="-152" y="-108" width="317" height="221" fill="none" stroke-width="3" stroke="WindowFrame"/> |
| 50 |
<g id="contents" font-size="12" fill="WindowText"> |
| 51 |
<text x="-148" y="0">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. </text> |
| 52 |
<text x="-148" y="20">Vestibulum pulvinar. Duis laoreet, nunc vitae facilisis </text> |
| 53 |
<text x="-148" y="40">tristique, pede sem iaculis mi, non consectetuer lorem </text> |
| 54 |
<text x="-148" y="60">libero et est. Donec imperdiet purus sed odio. Duis </text> |
| 55 |
<text x="-148" y="80">venenatis tortor eu lectus. Suspendisse sed metus at </text> |
| 56 |
<text x="-148" y="100">metus viverra ultricies. Mauris porttitor, justo a vulputate</text> |
| 57 |
</g> |
| 58 |
<g id="dropdown" transform="translate(2,0)"> |
| 59 |
<rect x="-150" y="-107" width="118" height="190" fill="ThreeDFace" id="drop-bg"/> |
| 60 |
<rect x="-143" y="0" width="102" height="34" fill="Menu"/> |
| 61 |
<text x="-138" y="24" font-size="20" font-weight="bold" fill="MenuText">Load</text> |
| 62 |
<rect x="-143" y="40" width="102" height="34" fill="Menu"/> |
| 63 |
<text x="-138" y="64" font-size="20" font-weight="bold" fill="MenuText">Save</text> |
| 64 |
<path d="M-149 83 h114 v-94" stroke-width="4" stroke="ThreeDDarkShadow" fill="none"/> |
| 65 |
<path d="M-149 83 v-94 h114" stroke-width="4" stroke="ThreeDLightShadow" fill="none"/> |
| 66 |
</g> |
| 67 |
<g id="menubar"> |
| 68 |
<rect x="-148" y="-62" width="310" height="46" fill="ThreeDLightShadow"/> |
| 69 |
<path d="M152 -52 l 10 -10 v 46 h -311 l10-10 z" fill="ThreeDDarkShadow"/> |
| 70 |
<rect x="-144" y="-58" width="302" height="37" fill="ThreeDFace"/> |
| 71 |
<text x="-141" y="-32" font-size="20" font-weight="bold" fill="HighlightText">File</text> |
| 72 |
<text x="-90" y="-32" font-size="20" font-weight="bold" fill="MenuText">Edit</text> |
| 73 |
</g> |
| 74 |
<g id="windowdecoration"> |
| 75 |
<rect x="-149" y="-106" width="311" height="42" fill="ActiveCaption" stroke-width="4" stroke="ActiveBorder" id="windowbar"/> |
| 76 |
<text x="5" y="-78" text-anchor="middle" font-size="24" font-weight="bold" fill="CaptionText">Lorem</text> |
| 77 |
<g id="button"> |
| 78 |
<rect x="120" y="-99" rx="8" width="26" height="26" fill="ButtonFace"/> |
| 79 |
<rect x="120" y="-99" rx="8" width="24" height="24" fill="ButtonHighlight"/> |
| 80 |
<rect x="122" y="-97" rx="8" width="24" height="24" fill="ButtonShadow"/> |
| 81 |
<rect x="122" y="-97" rx="8" width="22" height="22" fill="ButtonFace"/> |
| 82 |
</g> |
| 83 |
</g> |
| 84 |
</g> |
| 85 |
</g> |
| 86 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 87 |
<text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text> |
| 88 |
</g> |
| 89 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| 90 |
<!-- comment out this watermark once the test is approved --> |
| 91 |
<!--<g id="draft-watermark"> |
| 92 |
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| 93 |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
| 94 |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| 95 |
</g>--> |
| 96 |
</svg> |