From ec1fddcd0d6663ad273af85357f04abbc5689468 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:00 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a. --- ksvg/test/W3C_TESTSUITE_1.1 | 12 ++++++------ ksvg/test/ZVON-TEST-PASSED | 18 +++++++++--------- ksvg/test/ecma/bbox/bbox.js | 14 +++++++------- 3 files changed, 22 insertions(+), 22 deletions(-) (limited to 'ksvg/test') diff --git a/ksvg/test/W3C_TESTSUITE_1.1 b/ksvg/test/W3C_TESTSUITE_1.1 index b0766355..226c04c3 100644 --- a/ksvg/test/W3C_TESTSUITE_1.1 +++ b/ksvg/test/W3C_TESTSUITE_1.1 @@ -169,12 +169,12 @@ script-handle-03-t x script-handle-04-t x [SHAPES] -shapes-circle-01-t x -shapes-ellipse-01-t x -shapes-line-01-t x -shapes-polygon-01-t x -shapes-polyline-01-t x -shapes-rect-01-t x +tqshapes-circle-01-t x +tqshapes-ellipse-01-t x +tqshapes-line-01-t x +tqshapes-polygon-01-t x +tqshapes-polyline-01-t x +tqshapes-rect-01-t x [STRUCT] struct-cond-01-t x diff --git a/ksvg/test/ZVON-TEST-PASSED b/ksvg/test/ZVON-TEST-PASSED index 81cb6d52..c83c567e 100644 --- a/ksvg/test/ZVON-TEST-PASSED +++ b/ksvg/test/ZVON-TEST-PASSED @@ -112,7 +112,7 @@ path-lines-BE-01.svg: x Group 16: [Rendering] - 21.09.2003 rendering-orderGr-BE-01.svg: x -rendering-shape-BE-03.svg: x +rendering-tqshape-BE-03.svg: x rendering-text-BE-02.svg: x Group 17: [Script] - 21.09.2003 @@ -120,12 +120,12 @@ script-eventDom-BE-01.svg: x script-uiEvents-BE-02.svg: x Group 18: [Shapes] - 21.09.2003 -shapes-circle-BE-03.svg: x -shapes-ellipse-BE-02.svg: x -shapes-line-BE-04.svg: x -shapes-polygon-BE-05.svg: x -shapes-polyline-BE-06.svg: x -shapes-rect-BE-01.svg: x +tqshapes-circle-BE-03.svg: x +tqshapes-ellipse-BE-02.svg: x +tqshapes-line-BE-04.svg: x +tqshapes-polygon-BE-05.svg: x +tqshapes-polyline-BE-06.svg: x +tqshapes-rect-BE-01.svg: x Group 19: [Structure] - 21.09.2003 structure-allElem-BE-09.svg: x @@ -146,8 +146,8 @@ style-selector-BE-02.svg: o style-selector-BE-03.svg: o Group 21: [Text] - 29.09.2003 -text-alignment-BE-10.svg: x -text-alignment-BE-11.svg: x +text-tqalignment-BE-10.svg: x +text-tqalignment-BE-11.svg: x text-altGlyph-BE-07.svg: o FONTS SUPPORT MISSING text-decoration-BE-12.svg: x text-extTref-BE-18.svg: x diff --git a/ksvg/test/ecma/bbox/bbox.js b/ksvg/test/ecma/bbox/bbox.js index 2d692694..88eaa592 100644 --- a/ksvg/test/ecma/bbox/bbox.js +++ b/ksvg/test/ecma/bbox/bbox.js @@ -13,12 +13,12 @@ function bbox_loop(drawit, number) for(var i = 0; i < number; i++) { - var shape = doc.getElementById("test-" + i); - var bbox = shape.getBBox(); + var tqshape = doc.getElementById("test-" + i); + var bbox = tqshape.getBBox(); if(drawit == "true") { - draw_it(doc, bbox, shape, i + 1); + draw_it(doc, bbox, tqshape, i + 1); } else { @@ -27,13 +27,13 @@ function bbox_loop(drawit, number) } } -function do_string(shape, number) +function do_string(tqshape, number) { - var string = "\nShape " + number + "\nX = " + shape.x + "\nY = " + shape.y + "\nW = " + shape.width + "\nH = " + shape.height; + var string = "\nShape " + number + "\nX = " + tqshape.x + "\nY = " + tqshape.y + "\nW = " + tqshape.width + "\nH = " + shape.height; alert(string); } -function draw_it(doc, bbox, shape, number) +function draw_it(doc, bbox, tqshape, number) { var element = doc.createElement("rect"); element.setAttribute("x", bbox.x); @@ -45,7 +45,7 @@ function draw_it(doc, bbox, shape, number) element.setAttribute("stroke-width", "3"); element.setAttribute("id", "bbox" + number); - shape.getParentNode().appendChild(element); + tqshape.getParentNode().appendChild(element); } function gen_buttons(evt, number) -- cgit v1.2.1