<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>16742</bug_id>
          
          <creation_ts>2008-01-05 13:07:48 -0800</creation_ts>
          <short_desc>xlink:title: implement</short_desc>
          <delta_ts>2011-06-28 09:10:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.openicon.org/iconChat/index.svg</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="jay">jay</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>helder.magalhaes</cc>
    
    <cc>jeffschiller</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66289</commentid>
    <comment_count>0</comment_count>
    <who name="jay">jay</who>
    <bug_when>2008-01-05 13:07:48 -0800</bug_when>
    <thetext>xlink:title=&quot;Peepo Feeds&quot; is not currently displayed in tabs or when bookmarked</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66290</commentid>
    <comment_count>1</comment_count>
      <attachid>18290</attachid>
    <who name="jay">jay</who>
    <bug_when>2008-01-05 13:09:23 -0800</bug_when>
    <thetext>Created attachment 18290
xlink:title as attribute of SVG element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66291</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-05 13:15:05 -0800</bug_when>
    <thetext>I don&apos;t see where xlink:title makes sense on an &lt;svg&gt; element.  It seems like it pertains only to links.  &lt;svg:title&gt;&lt;/svg:title&gt; is the way to set a title on an SVG document.

Can you point out where in the xlink or svg spec you see supporting this usage?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66292</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-05 13:17:09 -0800</bug_when>
    <thetext>http://www.w3.org/TR/SVG/struct.html#XLinkTitleAttribute
is the relevant text in the SVG spec.  I don&apos;t that meaning &lt;svg xlink:title&gt; should work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66293</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-05 13:18:39 -0800</bug_when>
    <thetext>http://www.w3.org/TR/xlink/#link-semantics
is the relevant text in the xlink spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66297</commentid>
    <comment_count>5</comment_count>
    <who name="jay">jay</who>
    <bug_when>2008-01-05 14:04:15 -0800</bug_when>
    <thetext>I was relying on:
http://www.w3.org/TR/SVG11/struct.html#XLinkTitleAttribute
&gt;&gt; xlink:title = &apos;&lt;string&gt;&apos;
The title attribute is used to describe the meaning of a link or resource in a human-readable fashion, along the same lines as the role or arcrole attribute.

as it states a link or resource, I had considered this might be reasonable.

the English seems confusing, maybe meaning &quot;linked resource&quot; ??
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85305</commentid>
    <comment_count>6</comment_count>
    <who name="Jeff Schiller">jeffschiller</who>
    <bug_when>2008-07-06 21:02:53 -0700</bug_when>
    <thetext>Is there agreement then that this is an invalid bug?  It seems that Opera does not display xlink:title tooltips on all elements (only svg:a elements as WebKit does).  Personally, I think if Bug 16742 were implemented there would be no cause for this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85308</commentid>
    <comment_count>7</comment_count>
    <who name="jay">jay</who>
    <bug_when>2008-07-07 00:30:34 -0700</bug_when>
    <thetext>#6 Jeff this is bug 16742...

you wrote: I think if Bug 16742 were implemented there would be no
cause for this bug.

on what basis do you make the assertion:
&quot;It seems that Opera does not display xlink:title tooltips on all elements (only svg:a elements as WebKit does).&quot;

where is your test case?

in my experience Opera provides title content, 
whereas Safari provides the linked url only.

iirc this applies to xlink:title or &lt;title&gt; content 
neither of which are supported by Safari in anchors or other elements, 
whereas Opera supports either...

Finally please rely on the spec, over and above other UA except in particular circumstances, of which this does not appear to be one....

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85327</commentid>
    <comment_count>8</comment_count>
      <attachid>22129</attachid>
    <who name="Jeff Schiller">jeffschiller</who>
    <bug_when>2008-07-07 06:34:04 -0700</bug_when>
    <thetext>Created attachment 22129
Another Test Case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85328</commentid>
    <comment_count>9</comment_count>
    <who name="Jeff Schiller">jeffschiller</who>
    <bug_when>2008-07-07 06:36:00 -0700</bug_when>
    <thetext>&quot;#6 Jeff this is bug 16742...&quot;

Right, I meant Bug 16854, sorry.

&quot;where is your test case?&quot;

Attaching test case:

a) Neither Opera nor WebKit display the xlink:title on the &lt;svg&gt; element &quot;Some Document Title&quot;
b) Neither Opera nor WebKit display the xlink:title on the &lt;rect&gt; element as a tooltip
c) Both Opera and WebKit DO display the xlink:title on the &lt;a&gt; element as a tooltip

I do NOT think it is valid to have xlink:title on just any element and except it to be displayed by UAs.  I think &lt;title&gt; is supposed to be used for the purposes that you have used xlink:title in your test case.

&quot;in my experience Opera provides title content, 
whereas Safari provides the linked url only.&quot;

As mentioned in c) above, Safari 3.1 on Windows provides the xlink:title for links.  What version did you experience this in?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85332</commentid>
    <comment_count>10</comment_count>
    <who name="jay">jay</who>
    <bug_when>2008-07-07 07:22:12 -0700</bug_when>
    <thetext>#9 Jeff, as per the bug file, this bug refers to os x safari Version 3.1.2 (5525.20.1) webkit nightly r35034 which does not provide a tooltip on mouseover.

this applies to anchors such as the google one in your attachment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139785</commentid>
    <comment_count>11</comment_count>
    <who name="Helder Magalhães">helder.magalhaes</who>
    <bug_when>2009-08-13 03:56:26 -0700</bug_when>
    <thetext>&quot;xlink:title&quot; should only be displayed on links (it belongs to the XLink specification).

In SVG, the &quot;title&quot; and &quot;desc&quot; child elements can/should be used for this purpose [1] (the specification suggests the tooltip behavior, see also another proposal for that [2]). Using the &quot;title&quot;/&quot;desc&quot; as tooltips is already covered by bug 16854.

Note that, although Firefox does display &quot;xlink:title&quot; as a tooltip in any element, that is IMO a somehow broken behavior.

I&apos;d say this issue should be marked invalid...

[1] http://www.w3.org/TR/SVG/struct.html#DescriptionAndTitleElements
[2] http://www.w3.org/Graphics/SVG/IG/wiki/Accessibility_Activity#Title_As_Tooltip</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139794</commentid>
    <comment_count>12</comment_count>
    <who name="jay">jay</who>
    <bug_when>2009-08-13 04:38:54 -0700</bug_when>
    <thetext>#11 Helder,

can you provide a reference for your assertion: &quot;xlink:title&quot; should only be displayed on links...

if not, I&apos;ll take this to the SVG WG,

http://www.w3.org/TR/SVG11/struct.html#XLinkTitleAttribute
makes no mention of anchors or links...

authors use script to import data using xmlhttprequest and for this purpose title is (may?) not appropriate, ie similar issue to alt and title in html, one describes image, other describes linked resource.

regards

~:&quot;

ignoring the &apos;morph&apos; issue #10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139804</commentid>
    <comment_count>13</comment_count>
    <who name="jay">jay</who>
    <bug_when>2009-08-13 04:54:20 -0700</bug_when>
    <thetext>a quick read of XML Linking Language (XLink) Version 1.0
http://www.w3.org/TR/xlink/

suggests that it is unlikely that xlink only refers to anchors, unless that is
a constraint of svg1.1.

eg An XML element conforms to XLink if:...
http://www.w3.org/TR/xlink/#markup-reqs

appears to suggest that any xml element may have an xlink
unless I am mis-reading...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139818</commentid>
    <comment_count>14</comment_count>
    <who name="Helder Magalhães">helder.magalhaes</who>
    <bug_when>2009-08-13 05:52:39 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; can you provide a reference for your assertion: &quot;xlink:title&quot; should only be
&gt; displayed on links...

All XLink references are in &quot;URI reference attributes&quot; section, reason why I&apos;m
assuming they only make sense on linked content... But I&apos;m not turning this
issue into a debate, there are already a few related threads in the &quot;www-svg&quot;
mailing list discussing this and, if there&apos;s anything else to debate on, IMHO
it should be there.


&gt; http://www.w3.org/TR/SVG11/struct.html#XLinkTitleAttribute
&gt; makes no mention of anchors or links...

See above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139825</commentid>
    <comment_count>15</comment_count>
    <who name="jay">jay</who>
    <bug_when>2009-08-13 06:27:38 -0700</bug_when>
    <thetext>taken to WG list:

http://lists.w3.org/Archives/Public/www-svg/2009Aug/0030.html</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>18290</attachid>
            <date>2008-01-05 13:09:23 -0800</date>
            <delta_ts>2008-01-05 13:09:23 -0800</delta_ts>
            <desc>xlink:title as attribute of SVG element</desc>
            <filename>tw.svg</filename>
            <type>image/svg+xml</type>
            <size>237</size>
            <attacher name="jay">jay</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8
c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4yIiBiYXNl
UHJvZmlsZT0idGlueSINCiAgICAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkv
eGxpbmsiDQp3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIgp4bGluazp0aXRsZT0iUGVlcG8gRmVl
ZHMiDQovPg0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>22129</attachid>
            <date>2008-07-07 06:34:04 -0700</date>
            <delta_ts>2008-07-07 06:34:04 -0700</delta_ts>
            <desc>Another Test Case </desc>
            <filename>xlink-title.svg</filename>
            <type>image/svg+xml</type>
            <size>356</size>
            <attacher name="Jeff Schiller">jeffschiller</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRw
Oi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bGluazp0aXRsZT0iVGhpcyBtYWtlcyBubyBzZW5z
ZSI+DQoNCjxhIHhsaW5rOmhyZWY9Imh0dHA6Ly93d3cuZ29vZ2xlLmNvbS8iIHhsaW5rOnRpdGxl
PSJHb29nbGUgTWUiPjx0ZXh0IHg9IjIwIiB5PSIyMCIgZm9udC1zaXplPSIyMiI+R09PR0xFIElU
PC90ZXh0PjwvYT4NCg0KPHJlY3QgeD0iNTAiIHk9IjIwMCIgd2lkdGg9IjMwMCIgaGVpZ2h0PSIx
MDAiIGZpbGw9Im9yYW5nZSIgeGxpbms6dGl0bGU9IkRvZXMgT3BlcmEgc2hvdyBhIHRvb2x0aXA/
IiAvPg0KDQo8L3N2Zz4=
</data>

          </attachment>
      

    </bug>

</bugzilla>