mozilla/servo — pull request #1560 by SimonSapin (2014-01-25 19:47:52+00:00)
Title: Restore perf improvement from #1554

Lower-case attribute names when parsing selectors rather than when matching. This avoid one allocation in matching code.

Also do not lowercase names for *AttributeNS APIs. (Move lower-casing to callers.)