DescriptionRevert Range firstNode/pastLastNode() refactoring.
The calculation of these two end points cannot in general be done by way of
anchor offsetting of the start/end node -- such an anchor may not exist.
Hence, revert their implementations back to how they were prior to r191892. The
functionality that r191892 added to Position has separate uses, and is kept.
R=haraken
BUG=484103
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194918
Patch Set 1 #Patch Set 2 : Revert back to previous versions of firstNode/pastLastNode + add test #
Messages
Total messages: 7 (2 generated)
|