[Webkit-unassigned] [Bug 16854] display title in tooltip onmouseover in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 27 04:57:20 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=16854





--- Comment #32 from Jeff Schiller <codedread at gmail.com>  2010-04-27 04:57:19 PST ---
Jonathan,

Did you look at my slightly modified test case at
https://bugs.webkit.org/attachment.cgi?id=53316 ?

As per comment #6 I had to wrap the contents of the <symbol> elements in a <g>
and the tooltips showed up. So the following case does not work:

<defs>
  <symbol id="foo">
    <title>Foo</title>
    <rect .../>
    <circle .../>
  </symbol>
</defs>

<use xlink:href="#foo"/>

The user will not see a "Foo" tooltip when hovering over the content.  

To solve this, I had to modify the markup by wrapping the symbol geometry in a
group as:

<defs>
  <symbol id="foo">
  <g>
    <title>Foo</title>
    <rect .../>
    <circle .../>
  </g>
  </symbol>
</defs>

<use xlink:href="#foo"/>


If you think the other case is important and that wrapping the geometry of a
symbol in a <g> is not a sufficient solution, then please open a new WebKit bug
with the title "Symbol tooltips not being displayed"

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list