Escape sequences aren't working correctly with @-rule names like @namespace or @import.
Created attachment 44117 [details]
style-queue ran check-webkit-style on attachment 44117 [details] without any errors.
Comment on attachment 44117 [details]
> +void CSSParser::recheckAtKeyword(const UChar* str, int len)
> + String ruleName(str, len);
This String construction should not be necessary. We should instead add a version of equalIgnoringCase() that takes a UChar* and a length instead of a String. This will avoid the allocation.
Given that this is a really silly edge case that will never ever get hit in the real world, I'm not too concerned about making a single String.
Fixed in r51600.
*** Bug 21471 has been marked as a duplicate of this bug. ***