DescriptionMove implementations of Range::firstNode and Range::pastLastNode to Position
This patch move implementations of |Range::firstNode()| and
|Range::pastLastNode()| to |Position| class to use them via |Position| object
rather than creating |Range| object to use |TextIterator| class and
|createMarkup()| function via |Position| rather than |Range| to avoid creating
temporary |Range| objects, for |document.execCommand("copy").
This patch is a preparation of using composed tree for selection.
BUG=275851
TEST=n/a; no behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191892
Patch Set 1 : 2015-03-13T16:48:34 #
Total comments: 1
Messages
Total messages: 9 (4 generated)
|