Don't check for namespaced attributes when checking which attributes have case-insensitive values. b=387615 r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@229758 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org 2007-07-11 22:24:19 +00:00
parent 1f8c10fbc6
commit 8a0887a6cf

View File

@ -2405,9 +2405,7 @@ CSSParserImpl::ParseAttributeSelector(PRInt32& aDataMask,
// the attribute selector is for a non-namespaced attribute,
// then check to see if it's one of the known attributes whose
// VALUE is case-insensitive.
if (!mCaseSensitive &&
(nameSpaceID == kNameSpaceID_None ||
nameSpaceID == kNameSpaceID_XHTML)) {
if (!mCaseSensitive && nameSpaceID == kNameSpaceID_None) {
static const char* caseInsensitiveHTMLAttribute[] = {
// list based on http://www.w3.org/TR/html4/
"lang",