From 79532d7d5fa0c5e9edd2522427e1f3ef9c648ff1 Mon Sep 17 00:00:00 2001 From: Mounir Lamouri Date: Fri, 25 Jun 2010 14:23:10 +0200 Subject: [PATCH] Bug 573698 - When looking for tooltips, don't look at SVG elements if SVG is disabled. r=gavin --HG-- extra : rebase_source : 2700089c813b5c7976855f9ed09caf5cb0a56fc2 --- browser/base/content/browser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index f445f232ebe..e19d213ce95 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -2673,7 +2673,11 @@ function FillInHTMLTooltip(tipElement) var titleText = null; var XLinkTitleText = null; var SVGTitleText = null; +#ifdef MOZ_SVG var lookingForSVGTitle = true; +#else + var lookingForSVGTitle = false; +#endif // MOZ_SVG var direction = tipElement.ownerDocument.dir; while (!titleText && !XLinkTitleText && !SVGTitleText && tipElement) {