[Webkit-unassigned] [Bug 115517] Selection in non-editable content gets stuck when approaching an editable node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 10 09:42:40 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=115517





--- Comment #10 from Claudio Saavedra <csaavedra at igalia.com>  2013-05-10 09:41:05 PST ---
But we still need a similar while() iteration, no? Because of structures like <span contenteditable>foo</span><span contenteditable>bar</span>, getting the next position after current node will not always be enough to find the next non-editable one.

I see that there is a method 
firstEditablePositionAfterPositionInRoot(const Position& position, Node* highestRoot). Do you think that working in an analogous method, firstNonEditablePositionAfterPositionInRoot() would make sense to solve this in a more elaborate way (and probably find non-editable positions that are in descendant nodes to an editable one as well).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list