Bug 146804 - Web Inspector: Pseudo-element style ordering is wrong for pseudo-styles on unique selectors
Summary: Web Inspector: Pseudo-element style ordering is wrong for pseudo-styles on un...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-09 13:23 PDT by Devin Rousso
Modified: 2015-07-09 14:58 PDT (History)
8 users (show)

See Also:


Attachments
Test HTML Page (907 bytes, text/html)
2015-07-09 13:23 PDT, Devin Rousso
no flags Details
Patch (6.30 KB, patch)
2015-07-09 13:28 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2015-07-09 13:23:45 PDT
Created attachment 256504 [details]
Test HTML Page

* STEPS TO REPRODUCE:
1. Apply the changes from https://bugs.webkit.org/show_bug.cgi?id=145979
2. Open the attached Test HTML Page (test.html)
3. Open the inspector and select the "div" element in the Elements tab

  Expected:
The ".test::after" selector appears where it would appear in the list based upon its specificity.

  Actual:
The ".test::after" selector appears before the first UserAgent style.
Comment 1 Radar WebKit Bug Importer 2015-07-09 13:24:30 PDT
<rdar://problem/21752552>
Comment 2 Devin Rousso 2015-07-09 13:28:40 PDT
Created attachment 256505 [details]
Patch
Comment 3 WebKit Commit Bot 2015-07-09 14:58:38 PDT
Comment on attachment 256505 [details]
Patch

Clearing flags on attachment: 256505

Committed r186635: <http://trac.webkit.org/changeset/186635>
Comment 4 WebKit Commit Bot 2015-07-09 14:58:42 PDT
All reviewed patches have been landed.  Closing bug.