[Webkit-unassigned] [Bug 86649] isStartOfDocument and isEndOfDocument are poorly named

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 18 17:16:12 PDT 2012


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2012-05-18 17:15:16 PST ---
I'm fixing isStartOfDocument and isEndOfDocument to cross editing boundary and adding isEndOfEditableOrNonEditableContent which does what isEndOfDocument used to do.

After this change, selectFrameElementInParentIfFullySelected is the only client of isStartOfDocument and isEndOfDocument. The problem is that this function was added in http://trac.webkit.org/changeset/8942 without any tests without any tests. As far as I know, this function had been broken for ages (it only checked if the selection started and ended at the beginning and the end of the current editable region).

So I'm very inclined to just delete it altogether. If anything, we should probably support control selection on iframes per https://bugs.webkit.org/show_bug.cgi?id=12250.

Darin, what is your opinion on this?

-- 
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