| Summary: | [test case] css picks wrong selector on hp.com (regression) | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Hasso Tepper <hasso> |
| Component: | khtml renderer | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mihnea.balta |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | test case | ||
|
Description
Hasso Tepper
2004-01-22 08:48:56 UTC
Created attachment 4290 [details]
test case
I wonder there is no css test case for that, but it's surely mean
CVS commit by mueller: CCMAIL: 73214-done@bugs.kde.org M +5 -0 ChangeLog 1.205 M +1 -1 css/css_base.cpp 1.14 --- kdelibs/khtml/ChangeLog #1.204:1.205 @@ -1,2 +1,7 @@ +2004-02-15 Dirk Mueller <mueller@kde.org> + + * css/css_base.cpp (specificity): fix detection of the * + selector (#73214). + 2004-02-13 Zack Rusin <zack@kde.org> --- kdelibs/khtml/css/css_base.cpp #1.13:1.14 @@ -135,5 +135,5 @@ unsigned int CSSSelector::specificity() return 0; - int s = ((tag == 0xffff) ? 0 : 1); + int s = ((( tag & NodeImpl_IdLocalMask ) == 0xffff) ? 0 : 1); switch(match) { |