Summary: | [test case] colors specified in tag selector are forgotten when another class selector exists (regression) | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | John O'Donnell <johnod> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | test case |
Description
John O'Donnell
2004-01-08 16:24:06 UTC
Created attachment 4097 [details]
test case
The real test case, you quoted not the relevant parts above
I'd say this breaks quite some colors Subject: kdelibs/khtml CVS commit by mueller: make parsing of pseudo types case insensitive CCMAIL: 72159-done@bugs.kde.org M +4 -0 ChangeLog 1.149 M +3 -2 css/css_base.cpp 1.12 --- kdelibs/khtml/ChangeLog #1.148:1.149 @@ -1,2 +1,6 @@ +2004-01-11 Dirk Mueller <mueller@kde.org> + + * css/css_base.cpp (extractPseudoType): make it case-insensitive (#72159). + 2004-01-11 Germain Garand <germain@ebooksfrance.org> --- kdelibs/khtml/css/css_base.cpp #1.11:1.12 @@ -165,4 +165,5 @@ void CSSSelector::extractPseudoType() co _pseudoType = PseudoOther; if (!value.isEmpty()) { + value = value.lower(); switch (value[0]) { case 'a': @@ -306,5 +307,5 @@ DOMString CSSSelector::selectorText() co break; case CSSSelector::Set: - str += " "; /// ## correct? + str += " "; // ## correct? break; case CSSSelector::List: |