Bug 56161
Summary: | PositionIterator can create a Position inside ignored contents | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | darin, eric, justin.garcia, leviw, mitz |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 56027 | ||
Bug Blocks: | 52098 |
Ryosuke Niwa
While working on the bug 56027, I realized that PositionIterator does not skip nodes that are ignored by editing (i.e. editingIgnoresContents returns true). This implies that we can potentially have positions inside textarea, etc... We should modify PositionIterator so that it skips contents ignored by editing automatically.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |