Update the source file positions as well.
Don't consume nodes during calls to isListElement.