SVG <use> does not copy title
Reported by
mchlw...@gmail.com,
Jun 10 2016
|
||||||||
Issue description
<b>Chrome Version : <Copy from: 'about:version'></b>
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Firefox:FAIL 34.0.5
IE:OK 11.0.9
What steps will reproduce the problem?
(1) create any <symbol> or other element with a <title>element
(2) copy it via <use xlink:href>
(3) Mouse over
What is the expected result?
Tooltips, via <title> element
What happens instead?
Nothing
Please provide any additional information below. Attach a screenshot if
possible.
,
Jun 16 2016
I can reproduce this on Linux in 51.0.2704.84 (Official Build) (64-bit) (and Firefox 47.0--interesting coincidence.)
,
Jun 16 2016
,
Jul 6 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 16 2017
FYI, I'm investigating this bug.
,
Mar 3 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/58b15addedd3cb872fedf1d7a9c88fce8c35e0de commit 58b15addedd3cb872fedf1d7a9c88fce8c35e0de Author: mrunal.kapade <mrunal.kapade@intel.com> Date: Fri Mar 03 21:38:38 2017 Fix the way <title> is read under <use> shadow tree Earlier there was no way <title> element could be read under <use> shadow tree. By implementing title() override in SVGUseElement we return first <title> child under <use> if there is any. Otherwise we return the first <title> child from the shadow tree instance under <use>. BUG= 619073 Review-Url: https://codereview.chromium.org/2706583002 Cr-Commit-Position: refs/heads/master@{#454683} [add] https://crrev.com/58b15addedd3cb872fedf1d7a9c88fce8c35e0de/third_party/WebKit/LayoutTests/svg/dom/tooltip-title-with-use.html [modify] https://crrev.com/58b15addedd3cb872fedf1d7a9c88fce8c35e0de/third_party/WebKit/Source/core/svg/SVGUseElement.cpp [modify] https://crrev.com/58b15addedd3cb872fedf1d7a9c88fce8c35e0de/third_party/WebKit/Source/core/svg/SVGUseElement.h
,
Mar 7 2017
We went with only considering direct <title> children of the referenced element, to align somewhat with the name computation algorithm from the SVG AAM [1]. As such, "<title>derpy</title>" would need to be a direct child of <symbol> to be picked up as a tooltip. [1] https://www.w3.org/TR/svg-aam-1.0/#mapping_additional_nd (assigning this to myself as a proxy for mrunal.kapade)
,
Mar 26 2017
,
Mar 27 2017
,
Apr 13 2017
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by tkonch...@chromium.org
, Jun 14 2016Components: Blink>HTML
Labels: M-53 OS-Windows
Status: Untriaged (was: Unconfirmed)