Summary: | InsertListCommand's modifyRange and doApply should be merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||
Component: | HTML Editing | Assignee: | Ryosuke Niwa <rniwa> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, enrica, eric, justin.garcia, ojan, tkent, tony | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Bug Depends on: | 36430 | ||||||||
Bug Blocks: | 32422 | ||||||||
Attachments: |
|
Description
Ryosuke Niwa
2010-06-30 04:49:30 PDT
Created attachment 60463 [details]
merges modifyRange and doApply and adds doApplyForSingleParagraph
I'm not happy about the fact doApplyForSingleParagraph relies on the selection but just passing the starting/ending of paragraph breaks some tests because moveParagraph makes some visible positions invalid by detaching it from the document. So that should be done in a separate patch by replacing moveParagraph by moveParagraphWithClones.
Comment on attachment 60463 [details]
merges modifyRange and doApply and adds doApplyForSingleParagraph
Looks OK.
Please make sure all layout tests pass with this change.
Comment on attachment 60463 [details] merges modifyRange and doApply and adds doApplyForSingleParagraph Clearing flags on attachment: 60463 Committed r63189: <http://trac.webkit.org/changeset/63189> All reviewed patches have been landed. Closing bug. Created attachment 68740 [details]
Patch
Comment on attachment 68740 [details]
Patch
Oops, wrong bug.
|