зеркало из https://github.com/mozilla/pjs.git
Bug 573698 - When looking for tooltips, don't look at SVG elements if SVG is disabled. r=gavin
--HG-- extra : rebase_source : 2700089c813b5c7976855f9ed09caf5cb0a56fc2
This commit is contained in:
Родитель
0b2e88845d
Коммит
79532d7d5f
|
@ -2673,7 +2673,11 @@ function FillInHTMLTooltip(tipElement)
|
||||||
var titleText = null;
|
var titleText = null;
|
||||||
var XLinkTitleText = null;
|
var XLinkTitleText = null;
|
||||||
var SVGTitleText = null;
|
var SVGTitleText = null;
|
||||||
|
#ifdef MOZ_SVG
|
||||||
var lookingForSVGTitle = true;
|
var lookingForSVGTitle = true;
|
||||||
|
#else
|
||||||
|
var lookingForSVGTitle = false;
|
||||||
|
#endif // MOZ_SVG
|
||||||
var direction = tipElement.ownerDocument.dir;
|
var direction = tipElement.ownerDocument.dir;
|
||||||
|
|
||||||
while (!titleText && !XLinkTitleText && !SVGTitleText && tipElement) {
|
while (!titleText && !XLinkTitleText && !SVGTitleText && tipElement) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче