DescriptionEditing: Indent command: Do not insert BLOCKQUOTE under the root HTML element.
- ApplyBlockElementCommand, which IndentOutdentCommand inherits from, shrinks
selection to fit the body.
- startOfParagraph(), endOfParagraph(), mostBackwardCaretPosition(), and
mostBackwardCaretPosition() make sure a position doesn't move across BODY
boundary.
- Add NodeTraversal::contains() for the above bullet.
FlatTreeTraversal already has contains().
- Add dumpFromRoot options to assert_selection().
assert_selection() dumps children of the body if it exists by default.
BUG=657462
Patch Set 1 : . #
Total comments: 7
Messages
Total messages: 19 (15 generated)
|