Bug 146804

Summary: Web Inspector: Pseudo-element style ordering is wrong for pseudo-styles on unique selectors
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test HTML Page
none
Patch none

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.