[Webkit-unassigned] [Bug 11389] Attribute selectors should be case-sensitive by default and only be case-insensitive for certain attributes values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 1 08:37:39 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=11389


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #1 from eric at webkit.org  2007-10-01 08:37 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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list