| Index: third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-01-b.svg
|
| diff --git a/third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-01-b.svg b/third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-01-b.svg
|
| index 8457053b2dc92cdb7c28e14fd9a0e4f659fe960d..878d66fc9945f6647aa829656104808066e1f14f 100644
|
| --- a/third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-01-b.svg
|
| +++ b/third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1-SE/types-dom-01-b.svg
|
| @@ -19,8 +19,7 @@
|
| Note the use of nested svg elements and testing against different elements in the hierarchy.
|
| Note that the values of .getScreenCTM() and .getCTM() can only be tested correctly if they are
|
| in the html-based test or the width and height of the root element is explicitly set to 480x360.
|
| - The methods .getScreenCTM() and .getCTM() are tested from the rotated text element, the method .getBBox(),
|
| - .getTransformToElement() is tested between the rotated text and its parent group, the method .getBBox() and
|
| + The methods .getScreenCTM() and .getCTM() are tested from the rotated text element, the method .getBBox() is tested between the rotated text and its parent group, the method .getBBox() and
|
| the properties .farthestViewportElement and .nearestViewportElement are tested on the blue circle.
|
| </p>
|
| </d:testDescription>
|
| @@ -40,9 +39,6 @@
|
| .getCTM() for id "rotText": 0.42,0.42,-0.42,0.42,70.00,-60.00
|
| </p>
|
| <p>
|
| - .getTransformToElement() between id "rotText" and id "parentGroup": 0.42,0.42,-0.42,0.42,0.00,0.00
|
| - </p>
|
| - <p>
|
| .getBBox() for 'blueCircle': .x=-50,.y=-50,.width=100,.height=100
|
| </p>
|
| <p>
|
| @@ -70,12 +66,10 @@
|
| document.getElementById("result1").firstChild.nodeValue = ".getScreenCTM(): " + matr.a.toFixed(2) + "," + matr.b.toFixed(2) + "," + matr.c.toFixed(2) + "," + matr.d.toFixed(2) + "," + matr.e.toFixed(2) + "," + matr.f.toFixed(2);
|
| var matr = rotText.getCTM();
|
| document.getElementById("result2").firstChild.nodeValue = ".getCTM(): " + matr.a.toFixed(2) + "," + matr.b.toFixed(2) + "," + matr.c.toFixed(2) + "," + matr.d.toFixed(2) + "," + matr.e.toFixed(2) + "," + matr.f.toFixed(2);
|
| - var matr = rotText.getTransformToElement(document.getElementById("parentGroup"));
|
| - document.getElementById("result3").firstChild.nodeValue = ".getTransformToElement(): " + matr.a.toFixed(2) + "," + matr.b.toFixed(2) + "," + matr.c.toFixed(2) + "," + matr.d.toFixed(2) + "," + matr.e.toFixed(2) + "," + matr.f.toFixed(2);
|
| var bbox = blueCircle.getBBox();
|
| - document.getElementById("result4").firstChild.nodeValue = ".getBBox() for 'blueCircle': .x="+bbox.x+",.y="+bbox.y+",.width="+bbox.width+",.height="+bbox.height;
|
| - document.getElementById("result5").firstChild.nodeValue = ".farthestViewportElement of blueCircle="+blueCircle.farthestViewportElement.getAttributeNS(null,"id");
|
| - document.getElementById("result6").firstChild.nodeValue = ".nearestViewportElement of blueCircle="+blueCircle.nearestViewportElement.getAttributeNS(null,"id");
|
| + document.getElementById("result3").firstChild.nodeValue = ".getBBox() for 'blueCircle': .x="+bbox.x+",.y="+bbox.y+",.width="+bbox.width+",.height="+bbox.height;
|
| + document.getElementById("result4").firstChild.nodeValue = ".farthestViewportElement of blueCircle="+blueCircle.farthestViewportElement.getAttributeNS(null,"id");
|
| + document.getElementById("result5").firstChild.nodeValue = ".nearestViewportElement of blueCircle="+blueCircle.nearestViewportElement.getAttributeNS(null,"id");
|
| }
|
| </script>
|
| <g font-size="12">
|
| @@ -91,7 +85,6 @@
|
| <text id="result3" x="10" y="240"> </text>
|
| <text id="result4" x="10" y="260"> </text>
|
| <text id="result5" x="10" y="280"> </text>
|
| - <text id="result6" x="10" y="300"> </text>
|
| </g>
|
| </g>
|
| <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
|
|
|