Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com

git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2002-05-20 22:47:02 +00:00
parent 28e004aa7c
commit 7b7411c3ef
57 changed files with 375 additions and 479 deletions

View File

@@ -2109,7 +2109,8 @@ void CSSParserImpl::ParseAttributeSelector(PRInt32& aDataMask,
}
if (mToken.IsSymbol(']')) {
PRBool isCaseSensitive = mCaseSensitive;
if (nameSpaceID == kNameSpaceID_None || nameSpaceID == kNameSpaceID_HTML) {
if (nameSpaceID == kNameSpaceID_None ||
nameSpaceID == kNameSpaceID_XHTML) {
static const char* caseSensitiveHTMLAttribute[] = {
// list based on http://www.w3.org/TR/REC-html40/index/attributes.html
"abbr", "alt", "label",