xlink:title="Peepo Feeds" is not currently displayed in tabs or when bookmarked
Created attachment 18290 [details]
xlink:title as attribute of SVG element
I don't see where xlink:title makes sense on an <svg> element. It seems like it pertains only to links. <svg:title></svg:title> 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?
is the relevant text in the SVG spec. I don't that meaning <svg xlink:title> should work.
is the relevant text in the xlink spec.
I was relying on:
>> xlink:title = '<string>'
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 "linked resource" ??
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.
#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:
"It seems that Opera does not display xlink:title tooltips on all elements (only svg:a elements as WebKit does)."
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 <title> 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....
Created attachment 22129 [details]
Another Test Case
"#6 Jeff this is bug 16742..."
Right, I meant Bug 16854, sorry.
"where is your test case?"
Attaching test case:
a) Neither Opera nor WebKit display the xlink:title on the <svg> element "Some Document Title"
b) Neither Opera nor WebKit display the xlink:title on the <rect> element as a tooltip
c) Both Opera and WebKit DO display the xlink:title on the <a> 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 <title> is supposed to be used for the purposes that you have used xlink:title in your test case.
"in my experience Opera provides title content,
whereas Safari provides the linked url only."
As mentioned in c) above, Safari 3.1 on Windows provides the xlink:title for links. What version did you experience this in?
#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
"xlink:title" should only be displayed on links (it belongs to the XLink specification).
In SVG, the "title" and "desc" child elements can/should be used for this purpose  (the specification suggests the tooltip behavior, see also another proposal for that ). Using the "title"/"desc" as tooltips is already covered by bug 16854.
Note that, although Firefox does display "xlink:title" as a tooltip in any element, that is IMO a somehow broken behavior.
I'd say this issue should be marked invalid...
can you provide a reference for your assertion: "xlink:title" should only be displayed on links...
if not, I'll take this to the SVG WG,
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.
ignoring the 'morph' issue #10
a quick read of XML Linking Language (XLink) Version 1.0
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:...
appears to suggest that any xml element may have an xlink
unless I am mis-reading...
(In reply to comment #12)
> can you provide a reference for your assertion: "xlink:title" should only be
> displayed on links...
All XLink references are in "URI reference attributes" section, reason why I'm
assuming they only make sense on linked content... But I'm not turning this
issue into a debate, there are already a few related threads in the "www-svg"
mailing list discussing this and, if there's anything else to debate on, IMHO
it should be there.
> makes no mention of anchors or links...
taken to WG list: