summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-02-04 12:28:34 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-02-04 12:28:34 (GMT)
commit28bebc41e134c972860c6c17a42d69163de56212 (patch)
tree78c9198ca3f01ebff4e849919be49a0f146e3a45
parent71bc53dd545491641b6f036257ebf06c6dbd0d6c (diff)
downloadlibnslayout-28bebc41e134c972860c6c17a42d69163de56212.tar.gz
libnslayout-28bebc41e134c972860c6c17a42d69163de56212.tar.bz2
dom watcher: Improve comment about event listener effieciency.
-rw-r--r--src/dom/watcher.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dom/watcher.c b/src/dom/watcher.c
index d81d350..6e35926 100644
--- a/src/dom/watcher.c
+++ b/src/dom/watcher.c
@@ -119,8 +119,9 @@ nslayout_error nsl_dom_watcher_add_for_layout(nslayout_layout *layout)
{
dom_exception exc;
- /* TODO: LibDOM event listeners are really slow. Need to find a better
- * way to get DOM change notifications.
+ /* TODO: LibDOM mutation event listeners are really slow.
+ * Need to find a better way to get DOM change notifications.
+ * LibDOM probably needs to gain Mutation Observer support.
*/
exc = dom_event_listener_create(nsl__dom_event_handler,