[Webkit-unassigned] [Bug 24045] New: Split out positionAvoidingIgnoredContent from rangeCompliantEquivalent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 19 16:35:19 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24045
Summary: Split out positionAvoidingIgnoredContent from
rangeCompliantEquivalent
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: justin.garcia at apple.com, ojan at google.com,
jparent at google.com
OtherBugsDependingO 19221
nThis:
Split out positionAvoidingIgnoredContent from rangeCompliantEquivalent
rangeCompliantEquivilent turns (table, 0) into (table->parentNode(),
table->childIndex()) and the same with nodes which are "ignored" for editing
(like <input>, <textarea>, and replaced elements).
This logic should *not* be tied into rangeCompliantEquivilent (whose sole
responsibility should be to convert from our internal (img, 1) positions to
ones which are in terms of the parent, and thus work with Range, like
(img->parentNode(), img->childIndex() + 1).
Thus I'm proposing splitting out a new positionAvoidingIgnoredContent function
which can be used in addition to rangeCompliantEquivilent in the few places
where it's actually needed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list