Index: heuristics/distillable/extract_features.js |
diff --git a/heuristics/distillable/extract_features.js b/heuristics/distillable/extract_features.js |
index 5392aa052fa65ee65d337f5d3cfe8af03c343183..068c71e1bb61e921cd0c98861c48442936401398 100644 |
--- a/heuristics/distillable/extract_features.js |
+++ b/heuristics/distillable/extract_features.js |
@@ -14,7 +14,7 @@ return (function() { |
var bounds = e.getBoundingClientRect() |
var style = window.getComputedStyle(e); |
return !( |
- bounds.height == 0 || bounds.width == 0 || |
+ (bounds.height == 0 && bounds.width == 0) || |
style.display == "none" || |
style.visibility == "hidden" || |
style.opacity == 0 |