Bug 974638 - Stylesheet selector should display full href of stylesheet in a tooltip. r=harth

This commit is contained in:
Sayan Chowdhury 2014-02-28 09:20:28 -05:00
parent 8075e1629b
commit 4e6137362a

View File

@ -613,6 +613,9 @@ StyleEditorUI.prototype = {
let label = summary.querySelector(".stylesheet-name > label");
label.setAttribute("value", editor.friendlyName);
if (editor.styleSheet.href) {
label.setAttribute("tooltiptext", editor.styleSheet.href);
}
let linkedCSSFile = "";
if (editor.linkedCSSFile) {