Closed Bug 547854 Opened 16 years ago Closed 16 years ago

Improve outermost <svg:title> tooltip behavior

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 3.7a3

People

(Reporter: helder.magalhaes, Assigned: longsonr)

References

()

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a2pre) Gecko/20100222 Minefield/3.7a2pre (.NET CLR 3.5.30729) After bug 329212 was marked fixed, further testing showed that the current behavior may need a bit of love... :-) Specifically, I've noticed that the outermost title is being used every time a given element doesn't specify any. Just leaving the mouse parked somewhere displays "This is a root SVG element's title" which doesn't feel expected behavior IMHO: AFAIK, the top-level title/desc should be handled specially -- it's intended to provide generic information about the document itself: * The outermost "title" element would (only) be used as window title, as already was in previous versions; * The outermost "desc" element would be used as document information, possibly in page info document properties dialog (maybe displayed like meta tags in HTML pages), something which was never supported. Note that there's an algorithm [1], proposed by the SVG IG, as implementation proposal. [1] http://www.w3.org/Graphics/SVG/IG/wiki/Accessibility_Activity#Title_As_Tooltip Reproducible: Always Steps to Reproduce: 1. Open a document with an outermost title element. Actual Results: The outermost title element is used as tooltip for the canvas and/or elements which don't hold a title element themselves. Expected Results: The outermost title element would only be used as document title. Originally reported in bug 329212 comment 61. Note that I'm pointing the bug's URL at the current SVG 1.1 Second Edition editor's draft which, although not ratified yet, should be fairly close to the final document. :-)
Attached image Testcase
Depends on: 329212
If you want something for SVG desc on the page info that's a different issue.
Summary: Improve outermost <svg:title> tooltip behavior (and <svg:desc> also?) → Improve outermost <svg:title> tooltip behavior
Component: SVG → General
Product: Core → Firefox
QA Contact: general → general
Version: unspecified → Trunk
Assignee: nobody → longsonr
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch WIP (obsolete) — Splinter Review
Attached patch patchSplinter Review
Attachment #428888 - Attachment is obsolete: true
Attachment #428989 - Flags: review?(dao)
Attachment #428989 - Flags: review?(bzbarsky)
Comment on attachment 428989 [details] [diff] [review] patch "ShouldUseSVGTitle" in the comment should be updated to match the code.
Attachment #428989 - Flags: review?(bzbarsky) → review+
Attachment #428989 - Flags: review?(dao) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: