Open
Description
The spec currently says: "find the first element el in tree order". It should be more specific about which tree.
The current implementation in Chromium looks walks the box tree, essentially the flat tree, which means it is leaking anchor-names out of shadow trees.