summaryrefslogtreecommitdiffstats
path: root/devtools/client/styleeditor/StyleEditorUI.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/styleeditor/StyleEditorUI.sys.mjs')
-rw-r--r--devtools/client/styleeditor/StyleEditorUI.sys.mjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/devtools/client/styleeditor/StyleEditorUI.sys.mjs b/devtools/client/styleeditor/StyleEditorUI.sys.mjs
index e00a88c3ad..e31bd4bcc1 100644
--- a/devtools/client/styleeditor/StyleEditorUI.sys.mjs
+++ b/devtools/client/styleeditor/StyleEditorUI.sys.mjs
@@ -1400,6 +1400,10 @@ export class StyleEditorUI extends EventEmitter {
type.append(this.#panelDoc.createTextNode(`@${rule.type}\u00A0`));
if (rule.type == "layer" && rule.layerName) {
type.append(this.#panelDoc.createTextNode(`${rule.layerName}\u00A0`));
+ } else if (rule.type === "property") {
+ type.append(
+ this.#panelDoc.createTextNode(`${rule.propertyName}\u00A0`)
+ );
}
const cond = this.#panelDoc.createElementNS(HTML_NS, "span");
@@ -1549,6 +1553,7 @@ export class StyleEditorUI extends EventEmitter {
this.#loadingStyleSheets = null;
this.#root.classList.remove("loading");
+ this.emit("reloaded");
}
async #handleStyleSheetResource(resource) {