diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-02 20:32:00 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-02 20:32:00 +0100 |
commit | 69ee28ad18c791c63de13e43c41c6794d188e8dc (patch) | |
tree | bb9b271fbbb3795fdc26a378011b74c3c5fa6ce4 /devtools/client/inspector/markup/views | |
parent | 9627f18cebab38cdfe45592d83371ee7bbc62cfa (diff) | |
download | UXP-69ee28ad18c791c63de13e43c41c6794d188e8dc.tar UXP-69ee28ad18c791c63de13e43c41c6794d188e8dc.tar.gz UXP-69ee28ad18c791c63de13e43c41c6794d188e8dc.tar.lz UXP-69ee28ad18c791c63de13e43c41c6794d188e8dc.tar.xz UXP-69ee28ad18c791c63de13e43c41c6794d188e8dc.zip |
Markup View: show an ellipsis character in collapsed nodes
Issue #2
Diffstat (limited to 'devtools/client/inspector/markup/views')
-rw-r--r-- | devtools/client/inspector/markup/views/markup-container.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devtools/client/inspector/markup/views/markup-container.js b/devtools/client/inspector/markup/views/markup-container.js index b54157242..44768b46c 100644 --- a/devtools/client/inspector/markup/views/markup-container.js +++ b/devtools/client/inspector/markup/views/markup-container.js @@ -211,10 +211,12 @@ MarkupContainer.prototype = { } if (this.showExpander) { + this.elt.classList.add("expandable"); this.expander.style.visibility = "visible"; // Update accessibility expanded state. this.tagLine.setAttribute("aria-expanded", this.expanded); } else { + this.elt.classList.remove("expandable"); this.expander.style.visibility = "hidden"; // No need for accessible expanded state indicator when expander is not // shown. |