dom/document: try #css first in #[]

Since IE doesn't support XPath, this is a better choice.