Summary: | Escapes need to work with known @-rules | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dave Hyatt <hyatt> | ||||
Component: | CSS | Assignee: | Dave Hyatt <hyatt> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | annevk, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
URL: | http://www.w3.org/Style/CSS/Test/CSS3/Namespace/20090210/syntax-002.xml | ||||||
Attachments: |
|
Description
Dave Hyatt
2009-12-01 17:56:03 PST
Created attachment 44117 [details]
Patch
style-queue ran check-webkit-style on attachment 44117 [details] without any errors.
Comment on attachment 44117 [details] Patch > +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. |