Closed Bug 573698 Opened 14 years ago Closed 14 years ago

Tooltip trying to look at SVG elements tooltip even if SVG is disabled

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b1

People

(Reporter: mounir, Assigned: mounir)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch v1 (obsolete) — Splinter Review
This produce an error and an empty tooltip is always shown.
Attachment #453012 - Flags: review?(gavin.sharp)
Comment on attachment 453012 [details] [diff] [review]
Patch v1

>diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js

>   var lookingForSVGTitle = true;
>+#ifndef MOZ_SVG
>+  lookingForSVGTitle = false;
>+#endif // !MOZ_SVG

I would rather:

#ifdef MOZ_SVG
var lookingForSVGTitle = true;
#else
var lookingForSVGTitle = false;
#endif
Attachment #453012 - Flags: review?(gavin.sharp) → review+
Attached patch Patch v2Splinter Review
r=gavin
Attachment #453012 - Attachment is obsolete: true
Thank you for the review Gavin :)
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/fbfc0ca2eb6e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: