That's interesting. I've never thought about changing the logic based on the rendering mode of the document. I think most engines are likely to enforce the standards even in quirks mode. Mode specific tests should probably be tested against specific mock documents however.
Yap, in this case the Dojo spec doc is in quirks mode. I know NWMatcher is supposed to support the correct case-sensitivity depending on mode. That's why I adjusted the test.
That's interesting. I've never thought about changing the logic based on the rendering mode of the document. I think most engines are likely to enforce the standards even in quirks mode. Mode specific tests should probably be tested against specific mock documents however.