| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index e8a61800be7a17010986138a5a37124a32a31a6c..56535fbe7bb4ea0b2894f2f4334a026837b4257a 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -1156,7 +1156,7 @@ WebInspector.StylePropertiesSection.prototype = {
|
| hasMatchingChild |= child._updateFilter();
|
|
|
| var regex = this._parentPane.filterRegex();
|
| - var hideRule = !hasMatchingChild && regex && !regex.test(this.element.textContent);
|
| + var hideRule = !hasMatchingChild && !!regex && !regex.test(this.element.textContent);
|
| this.element.classList.toggle("hidden", hideRule);
|
| if (!hideRule && this._style.parentRule)
|
| this._markSelectorHighlights();
|
|
|