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:
parent
1f8c10fbc6
commit
8a0887a6cf
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user