1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <svg xmlns=
"http://www.w3.org/2000/svg" onload=
"runTest()">
3 <script type=
"text/ecmascript"><![CDATA[
5 var test = document.getElementById(
"test");
6 if(test.x.baseVal.numberOfItems ==
0) {
7 var result = document.getElementById(
"result");
8 result.setAttribute(
"fill",
"green");
13 <text id=
"test" x=
"1.2.3" y=
"20"></text>
14 <rect id=
"result" width=
"100" height=
"100" fill=
"red"/>
15 <text y=
"130">Above a green rectangle should be displayed.
</text>
16 <text y=
"150">It tests that
x=
"1.2.3" as length is not accepted. Bug
15464.
</text>