summaryrefslogtreecommitdiff
path: root/src/select/select.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-13 22:50:22 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-13 22:50:22 +0000
commit701d16aa5ee8d39188dffb797ce14d7d0f95967a (patch)
tree88c1e903b514df95a66ca3dd2aa6e4f6e458a22f /src/select/select.c
parent373e4e3cd028c75ab35b9d1407cdff1af5b445d9 (diff)
downloadlibcss-701d16aa5ee8d39188dffb797ce14d7d0f95967a.tar.gz
libcss-701d16aa5ee8d39188dffb797ce14d7d0f95967a.tar.bz2
Improve explanation of TODO.
Diffstat (limited to 'src/select/select.c')
-rw-r--r--src/select/select.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/select/select.c b/src/select/select.c
index 7731258..1de8bc4 100644
--- a/src/select/select.c
+++ b/src/select/select.c
@@ -492,7 +492,11 @@ css_error css_select_style(css_select_ctx *ctx, void *node,
if (error != CSS_OK)
goto cleanup;
/* TODO:
- * 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.
*/
}