Summary: | Attribute selectors should be case-sensitive by default and only be case-insensitive for certain attributes values | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Niels Leenheer (HTML5test) <info> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | ap, webkit | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://www.css3.info/selectors-test/ | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 11390 | ||||||
Attachments: |
|
Description
Niels Leenheer (HTML5test)
2006-10-23 03:53:12 PDT
The code which defines this behaivor is in: CSSParser::parseContent if (fname == "attr(") { if (args->size() != 1) return false; Value* a = args->current(); String attrName = domString(a->string); if (document()->isHTMLDocument()) attrName = attrName.lower(); parsedValue = new CSSPrimitiveValue(attrName, CSSPrimitiveValue::CSS_ATTR); Note that that code will be changed slightly by the patch attached to bug 15302, since the mathml.css file (which contains attr selectors) is parsed before there is any document() set. Created attachment 17316 [details]
minimal test case
Is this bg already fixed? I don't see error behavior. |