mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#5258 test after control merge & polish
This commit is contained in:
parent
6aea6f3ebc
commit
c761ec248b
@ -94,7 +94,6 @@ jQuery.fn.highlightText = function(text, className) {
|
|||||||
rect.width.baseVal.value = bbox.width;
|
rect.width.baseVal.value = bbox.width;
|
||||||
rect.height.baseVal.value = bbox.height;
|
rect.height.baseVal.value = bbox.height;
|
||||||
rect.setAttribute('class', className);
|
rect.setAttribute('class', className);
|
||||||
var parentOfText = node.parentNode.parentNode;
|
|
||||||
addItems.push({
|
addItems.push({
|
||||||
"parent": node.parentNode,
|
"parent": node.parentNode,
|
||||||
"target": rect});
|
"target": rect});
|
||||||
|
@ -59,7 +59,6 @@ describe('jQuery extensions', function() {
|
|||||||
'</text>' +
|
'</text>' +
|
||||||
'</svg>' +
|
'</svg>' +
|
||||||
'</span>');
|
'</span>');
|
||||||
$("#svg-highlight-test").html($("#svg-highlight-test").html());
|
|
||||||
jQuery(document.body).append(highlightTestSvg);
|
jQuery(document.body).append(highlightTestSvg);
|
||||||
highlightTestSvg.highlightText(cyrillicTerm, 'highlighted');
|
highlightTestSvg.highlightText(cyrillicTerm, 'highlighted');
|
||||||
highlightTestSvg.highlightText(umlautTerm, 'highlighted');
|
highlightTestSvg.highlightText(umlautTerm, 'highlighted');
|
||||||
|
Loading…
Reference in New Issue
Block a user