I came across this sentence: The function changes the size, position, and Z order of a child, pop-up, or top-level window.
I would write it this way: The function changes the size, the position, and the Z order of a child, a pop-up, or a top-level window.
Is there a rule or a convention to omit articles when there are more words in a list?