Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / text-ctm.svg
blob865590220e17d4500397df8d71187b992563dbd1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" onload="runTest()">
4 <script type="text/ecmascript"><![CDATA[
5 function runTest() {
6 var ctm = document.getElementById("test").getCTM();
7 if (ctm.a == 2 && ctm.b == 0 && ctm.c == 0 && ctm.d == 2 &&
8 ctm.e == -50 && ctm.f == -50) {
9 var ctm = document.getElementById("test").getScreenCTM();
10 if (ctm.a == 2 && ctm.b == 0 && ctm.c == 0 && ctm.d == 2 &&
11 ctm.e == -40 && ctm.f == -40) {
12 document.getElementById("test").textContent = "Passed";
16 ]]></script>
17 <g transform="translate(10, 10)">
18 <svg>
19 <text transform="scale(2) translate(-25, -25)" id="test" x="70" y="70" >Failed</text>
20 </svg>
21 </g>
22 </svg>