1 files changed, 5 insertions, 1 deletions
diff --git a/src/select/select.c b/src/select/select.c
index 7731258..1de8bc4 100644
@@ -492,7 +492,11 @@ css_error css_select_style(css_select_ctx *ctx, void *node,
if (error != CSS_OK)
- * If state.bloom == NULL, build and set parent bloom.
+ * If state.bloom == NULL, build & set parent node's bloom,
+ * and use it as state.bloom. This will speed up the case
+ * where DOM change has caused bloom to get deleted.
+ * For now we fall back to a fully satruated bloom filter,
+ * which is slower but perfectly valid.