Do not lowercase names for *AttributeNS APIs. (Move lower-casing to callers.)
Restore perf improvement from #1554

Lower-case attribute names when parsing selectors rather than when
matching. This avoid one allocation in matching code.
Change Namespace::from_str to take &str, fix #1367
Move script::dom::namespace into util, in order to use it from style later.
Make get_attr() take a &Namespace rather than Option<~str>
Convert to Namespace during CSS parsing rather than selector matching.
Make Namespace::to_str() return a string.
Do not copy the result of get_link()
auto merge of #1560 : SimonSapin/servo/restore-1554, r=pcwalton

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.)
auto merge of #1561 : SimonSapin/servo/refactor-namespace, r=pcwalton

This builds on top of #1560 (… which I realize now may confuse Critic)

This refactors Namespace to reduce the overall amount of copying and conversion. In particular, it makes parsed selectors contain Namespace enums rather than strings.
layout: Profile the CSS cascade as well as selector matching.

It's slow.
auto merge of #1563 : pcwalton/servo/profile-cascade, r=larsbergstrom

It's slow.

r? @metajack
Disable 3 broken ref tests so that we can start blocking on check-ref again
Enable ref tests on darwin
auto merge of #1565 : larsbergstrom/servo/ref-tests-enable, r=pcwalton

Ref tests should now be stable enough to put them back in the list of checked tests that we run at checkin. This will at least ensure ACID1 no longer breaks.

I had to disable three tests that have regressed since ref tests first became unstable. I will open separate issues for each of them if we agree to land this PR.
implement inline border
add comment & add ref test
disable ref test :(
auto merge of #1546 : ksh8281/servo/inline_add2, r=larsbergstrom

implement inline border.
it gives same result in "src/test/html/test_inline_border.html" with chrome,firefox

r? @pcwalton
layout: Switch parallel selector matching over to using work stealing.

10% speedup over what we had before.