#5258 test after control merge & polish

This commit is contained in:
Timotheus Kampik 2019-01-12 14:48:35 +01:00
parent 6aea6f3ebc
commit c761ec248b
2 changed files with 0 additions and 2 deletions

View File

@ -94,7 +94,6 @@ jQuery.fn.highlightText = function(text, className) {
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
var parentOfText = node.parentNode.parentNode;
addItems.push({
"parent": node.parentNode,
"target": rect});

View File

@ -59,7 +59,6 @@ describe('jQuery extensions', function() {
'</text>' +
'</svg>' +
'</span>');
$("#svg-highlight-test").html($("#svg-highlight-test").html());
jQuery(document.body).append(highlightTestSvg);
highlightTestSvg.highlightText(cyrillicTerm, 'highlighted');
highlightTestSvg.highlightText(umlautTerm, 'highlighted');