Index: chrome/content/elemHideEmulation.js |
=================================================================== |
--- a/chrome/content/elemHideEmulation.js |
+++ b/chrome/content/elemHideEmulation.js |
@@ -275,16 +275,21 @@ |
dependsOnStyles: true, |
*findPropsSelectors(styles, prefix, regexp) |
{ |
for (let style of styles) |
if (regexp.test(style.style)) |
for (let subSelector of style.subSelectors) |
{ |
+ if (subSelector.startsWith("*") && |
+ !incompletePrefixRegexp.test(prefix)) |
+ { |
+ subSelector = subSelector.substr(1); |
+ } |
let idx = subSelector.lastIndexOf("::"); |
if (idx != -1) |
subSelector = subSelector.substr(0, idx); |
yield prefix + subSelector; |
} |
}, |
*getSelectors(prefix, subtree, styles) |