DescriptionRegression(r178540): Traversal<*Element>::lastWithin() is incorrect
Traversal<*Element>::lastWithin() is incorrect after r178540 because it
changed from using ElementTraversal::lastWithin() to using Node.lastChild()
when doing node traversal. The proper API for this is
NodeTraversal::lastWithin() as we want the last descendant, not the last
child.
This was not caught by layout tests because this template specialization
is currently unused. Current callers are using the simpler Traversal<Element>
template specialization.
R=abarth@chromium.org, esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179057
Patch Set 1 #Patch Set 2 : Fix build error #Messages
Total messages: 13 (0 generated)
|