Bug 62656 - Web Inspector: shows incorrect CSS matched rules when !important is used
Summary: Web Inspector: shows incorrect CSS matched rules when !important is used
Status: RESOLVED DUPLICATE of bug 64074
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-06-14 11:40 PDT by Simon Fraser (smfr)
Modified: 2011-07-14 01:59 PDT (History)
13 users (show)

See Also:


Attachments
Screenshot (75.14 KB, image/png)
2011-06-14 11:41 PDT, Simon Fraser (smfr)
no flags Details
Testcase. Inspect the body (206 bytes, text/html)
2011-06-14 11:41 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2011-06-14 11:40:54 PDT
The inspector is confused by !important CSS rules; it shows the wrong rule as being applied.

This cost me a few days of debugging on seekingalpha.com.
Comment 1 Simon Fraser (smfr) 2011-06-14 11:41:11 PDT
Created attachment 97147 [details]
Screenshot
Comment 2 Simon Fraser (smfr) 2011-06-14 11:41:31 PDT
Created attachment 97148 [details]
Testcase. Inspect the body
Comment 3 Simon Fraser (smfr) 2011-06-14 11:42:07 PDT
<rdar://problem/9608021>
Comment 4 Mike West 2011-07-14 00:49:10 PDT
If no one else is looking into this, I'll start putting a patch together.
Comment 5 Alexander Pavlov (apavlov) 2011-07-14 01:42:04 PDT
I'm sorry for overlooking this issue - it sounds like a dupe of the bug 64074 which was fixed in http://trac.webkit.org/changeset/90630. Feel free to reopen this one if the testcase attached still works wrong for you on ToT.

*** This bug has been marked as a duplicate of bug 64074 ***
Comment 6 Mike West 2011-07-14 01:59:53 PDT
You're right, this is fixed in ToT. Awesome!