When either position is anchored at a detached node, they don't have a tree scope in common.
* editing/htmlediting.cpp:
(WebCore::comparePositions):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164404
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-02-19 Ryosuke Niwa <rniwa@webkit.org>
+
+ Debug build fix after r164401. Removed a bogus assertion in comparePositions.
+ When either position is anchored at a detached node, they don't have a tree scope in common.
+
+ * editing/htmlediting.cpp:
+ (WebCore::comparePositions):
+
2014-02-19 Ryosuke Niwa <rniwa@webkit.org>
fieldset:disabled > legend:first-child legend input should not be disabled
{
TreeScope* commonScope = commonTreeScope(a.containerNode(), b.containerNode());
- ASSERT(commonScope);
if (!commonScope)
return 0;