Closed
Bug 1327763
Opened 9 years ago
Closed 9 years ago
Please add link in markup to another element for "xlink:href" attrubute of <use> element (in SVG)
Categories
(DevTools :: Inspector, enhancement)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1158831
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509
1. Open url [1]
2. Open devtools -> inspector
3. Select <use> element in markup
4. Middle-click on value "#ui-question_circled" of attribute "xlink:href"
AR:
Step 3 - Attribute "xlink:href" and its value look like any other normal attribute (look like text)
Step 4 - No visible action
ER:
Step 3 - Value "#ui-question_circled" of attribute "xlink:href" should be underlined
Step 4 - Element with selector "symbol#ui-question_circled" should be selected in markup
Reference of good behavior:
attributes "for", "src", "href", "data" - in HTML documents, attributes "observes", "tooltip",
"context" - in XUL documents. Well, actually, middle-click on values of "src", "href" and "data"
switch to another devtools tab or open new browser tab/window, but they still work as a reference,
as their values represent some connection to the actual object used on the page.
[1]
data:text/html,
<svg style="display:none;">
<symbol viewBox="0 0 10 10" id="ui-question_circled"><path d="M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10zM3 3.824h1.238c.028-.503.375-.827.9-.827.521 0 .869.301.869.726s-.179.644-.768.996c-.63.37-.882.782-.823 1.513l.01.251h1.21v-.242c0-.439.17-.663.777-1.015.645-.379.978-.859.978-1.544 0-1.055-.863-1.782-2.17-1.782-1.403 0-2.198.786-2.221 1.924zM5.133 8.79c.604 0 .977-.335.977-.877 0-.548-.373-.883-.977-.883-.605 0-.983.335-.983.883 0 .542.378.877.983.877z" fill-rule="evenodd"></path></symbol>
</svg>
<p>1. Hello world</p><svg style="height:10px;width:10px;"><use xlink:href="%23ui-question_circled"></use></svg><p>2. Hello world</p>
Component: Developer Tools: Animation Inspector → Developer Tools: Inspector
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•