If a search is done in the forward direction and no start object is specified, the very first child of the container is the first result candidate. However, if search is done in the reverse direction and no start object is specified, the container isn't even considered (basically negating the search). In this case we should start the search from the very last element in the container so the very last child of the container is the first result candidate.
<rdar://problem/16150888>
Created attachment 225098 [details] Patch.
Comment on attachment 225098 [details] Patch. Clearing flags on attachment: 225098 Committed r164615: <http://trac.webkit.org/changeset/164615>
All reviewed patches have been landed. Closing bug.