dom/element: fix #at_css and #at_xpath