Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / transforms / negative-scale-value.html
blob88a517dd010043029badcacdd6973447029cac9a
1 <!DOCTYPE HTML>
2 <script src='../../resources/js-test.js'></script>
3 <script>
4 description("SVG scale transform with negative scale values should be correctly converted to strings.");
6 var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
7 var g = document.createElementNS('http://www.w3.org/2000/svg', 'g');
8 var transform = svg.createSVGTransform();
9 transform.setScale(-2, -4);
11 var list = g.transform.baseVal;
12 list.appendItem(transform);
14 shouldBeEqualToString("g.getAttribute('transform')", "scale(-2 -4)");
15 </script>