Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/ui/sidebar.js

Issue 29345639: Issue 3969 - Hits are not counted for custom CSS property rules (Closed)
Patch Set: Created June 8, 2016, 1:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/child/cssProperties.js » ('j') | lib/child/cssProperties.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/sidebar.js
===================================================================
--- a/chrome/content/ui/sidebar.js
+++ b/chrome/content/ui/sidebar.js
@@ -984,17 +984,17 @@ var treeView = {
state = "state-regular";
if (filter && !filter.disabled)
{
if (filter instanceof WhitelistFilter)
state = "state-whitelisted";
else if (filter instanceof BlockingFilter)
state = "state-filtered";
- else if (filter instanceof ElemHideFilter)
+ else if (filter instanceof ElemHideFilter || filter instanceof CSSPropertyFilter)
state = "state-hidden";
else if (filter instanceof ElemHideException)
state = "state-hiddenexception";
}
}
else {
list.push("dummy-true");
« no previous file with comments | « no previous file | lib/child/cssProperties.js » ('j') | lib/child/cssProperties.js » ('J')

Powered by Google App Engine
This is Rietveld