DescriptionPrefer lengthOfContents over countChildren
Calling lengthOfContents simplifies the code
and should amount to the same thing, because
lengthOfContents calls countChildren for
node types that return false for offsetInCharacters.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188060
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|