<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Tabbing in the styles sidebar doesn't highlight the next section of text"
href="https://bugs.webkit.org/show_bug.cgi?id=146676#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Tabbing in the styles sidebar doesn't highlight the next section of text"
href="https://bugs.webkit.org/show_bug.cgi?id=146676">bug 146676</a>
from <span class="vcard"><a class="email" href="mailto:drousso@apple.com" title="drousso@apple.com">drousso@apple.com</a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=256288&action=diff" name="attach_256288" title="Patch">attachment 256288</a> <a href="attachment.cgi?id=256288&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=256288&action=review">https://bugs.webkit.org/attachment.cgi?id=256288&action=review</a>
<span class="quote">>> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js:400
>> + var colonIndex = text.indexOf(":");
>
> What if this returns -1?</span >
On the next line, it checks if colonIndex >= 0 and if not then set the start to 0 since the entire string should be matched.</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>