<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:drousso@apple.com" title="drousso@apple.com">drousso@apple.com</a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Pseudo Styles Ordering and Media Queries"
href="https://bugs.webkit.org/show_bug.cgi?id=145979">bug 145979</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>drousso@apple.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Pseudo Styles Ordering and Media Queries"
href="https://bugs.webkit.org/show_bug.cgi?id=145979#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Pseudo Styles Ordering and Media Queries"
href="https://bugs.webkit.org/show_bug.cgi?id=145979">bug 145979</a>
from <span class="vcard"><a class="email" href="mailto:drousso@apple.com" title="drousso@apple.com">drousso@apple.com</a>
</span></b>
<pre>I was using includes to allow proper matching with selectors that had commas in them. For example, so div::after would match with body, div, p.
I can definitely see that there are a lot of edge cases I haven't taken into account, which is why I made it so that if any pseudo-selector rules are left by the time the first User Agent or inherited rule is listed, all the remaining pseudo-selector rules are printed out.
The lastMatchingSelector part is for when multiple rules have the same selector. In this case, the pseudo-selector rule should go after the last rule and not after the first one.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>