From ffdd467173bd06455e943ce3507cf88976d7240f Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Wed, 3 Oct 2018 08:55:43 +0200 Subject: [PATCH] Bug 1491688 - Introduce ::-moz-tree-row(blur) selector. r=emilio --- layout/xul/tree/nsTreeBodyFrame.cpp | 2 ++ xpcom/ds/StaticAtoms.py | 1 + 2 files changed, 3 insertions(+) diff --git a/layout/xul/tree/nsTreeBodyFrame.cpp b/layout/xul/tree/nsTreeBodyFrame.cpp index af63a8a626ba..dcce4dc7e8d0 100644 --- a/layout/xul/tree/nsTreeBodyFrame.cpp +++ b/layout/xul/tree/nsTreeBodyFrame.cpp @@ -1848,6 +1848,8 @@ nsTreeBodyFrame::PrefillPropertyArray(int32_t aRowIndex, nsTreeColumn* aCol) // focus if (mFocused) mScratchArray.AppendElement(nsGkAtoms::focus); + else + mScratchArray.AppendElement(nsGkAtoms::blur); // sort bool sorted = false; diff --git a/xpcom/ds/StaticAtoms.py b/xpcom/ds/StaticAtoms.py index 745d63f36b1b..fde87f54696c 100644 --- a/xpcom/ds/StaticAtoms.py +++ b/xpcom/ds/StaticAtoms.py @@ -165,6 +165,7 @@ STATIC_ATOMS = [ Atom("bindToUntrustedContent", "bindToUntrustedContent"), Atom("block", "block"), Atom("blockquote", "blockquote"), + Atom("blur", "blur"), Atom("body", "body"), Atom("boolean", "boolean"), Atom("border", "border"),