[Webkit-unassigned] [Bug 110062] New: Web Inspector: RuleMatch.matchingSelectors is misleading
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 17 13:39:06 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=110062
Summary: Web Inspector: RuleMatch.matchingSelectors is
misleading
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: timothy at apple.com
CC: keishi at webkit.org, pmuellr at yahoo.com,
pfeldman at chromium.org, yurys at chromium.org,
apavlov at chromium.org, loislo at chromium.org,
vsevik at chromium.org,
web-inspector-bugs at googlegroups.com
Created an attachment (id=188774)
--> (https://bugs.webkit.org/attachment.cgi?id=188774&action=review)
Test Case
The matchingSelectors array can be misleading in the UI. If you have a rule with multiple selectors, one specific and one less specific. Then a separate rule that is in the middle of those matches. The first and last matches will both highlight the two selectors, when I would expect only the one selector that matched at that time to be highlighted.
See attached test case. I only expect "#foo" to be highlighted the 1st match, and "div" to be highlighted on the 3rd match.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list