From 8a0887a6cf6eb76fe2927f0e5945b3b8b0ec7964 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Wed, 11 Jul 2007 22:24:19 +0000 Subject: [PATCH] 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 --- mozilla/layout/style/nsCSSParser.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mozilla/layout/style/nsCSSParser.cpp b/mozilla/layout/style/nsCSSParser.cpp index 4bb6455d382..c0b835161e9 100644 --- a/mozilla/layout/style/nsCSSParser.cpp +++ b/mozilla/layout/style/nsCSSParser.cpp @@ -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",