[evolution/gnome-3-18] Bug 758846 - CRITICAL **: WebKitDOMNode* webkit_dom_node_get_last_child(WebKitDOMNode*): assertion '
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-18] Bug 758846 - CRITICAL **: WebKitDOMNode* webkit_dom_node_get_last_child(WebKitDOMNode*): assertion '
- Date: Tue, 1 Dec 2015 10:14:12 +0000 (UTC)
commit 67cccd2aa5bf64855283731c7dd697fb4022bdbf
Author: Tomas Popela <tpopela redhat com>
Date: Tue Dec 1 10:14:18 2015 +0100
Bug 758846 - CRITICAL **: WebKitDOMNode* webkit_dom_node_get_last_child(WebKitDOMNode*): assertion
'WEBKIT_DOM_IS_NODE(self)' failed
Element representing tabulator is not a valid block node, we need to return its
parent.
e-util/e-html-editor-utils.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-utils.c b/e-util/e-html-editor-utils.c
index ab9c6e4..bb25168 100644
--- a/e-util/e-html-editor-utils.c
+++ b/e-util/e-html-editor-utils.c
@@ -149,7 +149,8 @@ e_html_editor_get_parent_block_node_from_child (WebKitDOMNode *node)
element_has_tag (WEBKIT_DOM_ELEMENT (parent), "u"))
parent = webkit_dom_node_get_parent_node (parent);
- if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quoted"))
+ if (element_has_class (WEBKIT_DOM_ELEMENT (parent), "-x-evo-quoted") ||
+ element_has_class (WEBKIT_DOM_ELEMENT (parent), "Apple-tab-span"))
parent = webkit_dom_node_get_parent_node (parent);
return parent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]