In the nightlies (but not Safari 3.0.3 for Tiger), when performing an XPath query with a preceding axis, some nodes which do precede the context node are not returned. It seems to occur when these missed nodes are nested in another node. E.g.:
The query "preceding::xhtml:span" on span#D will not return span#C.
Created attachment 17274 [details]
Created attachment 17275 [details]
Equivalent query in XSLT, to be applied to the test XHTML file.
I probably broke it when fixing bug 15436.
Created attachment 17294 [details]
Comment on attachment 17294 [details]
I love test cases!
Committed revision 27835.