[evolution/wip/webkit2] Bug 758846 - CRITICAL **: WebKitDOMNode* webkit_dom_node_get_last_child(WebKitDOMNode*): assertion '
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 758846 - CRITICAL **: WebKitDOMNode* webkit_dom_node_get_last_child(WebKitDOMNode*): assertion '
- Date: Wed, 2 Mar 2016 18:15:36 +0000 (UTC)
commit 7935b63d2e103fceeaed7a98805268da7fd47bcb
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 2 19:01:05 2016 +0100
Bug 758846 - CRITICAL **: WebKitDOMNode* webkit_dom_node_get_last_child(WebKitDOMNode*): assertion
'WEBKIT_DOM_IS_NODE(self)' failed
.../composer/e-html-editor-view-dom-functions.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index 9267f4b..2ee590c 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -570,7 +570,8 @@ 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]