[Webkit-unassigned] [Bug 146676] Web Inspector: Tabbing in the styles sidebar doesn't highlight the next section of text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 00:32:52 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146676

--- Comment #3 from Nikita Vasilyev <nvasilyev at apple.com> ---
Comment on attachment 256286
  --> https://bugs.webkit.org/attachment.cgi?id=256286
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=256286&action=review

> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js:400
> +        var substringIndex = text.includes(":") && cursor.ch >= text.indexOf(":") ? text.indexOf(":") : 0;

Nit: text.indexOf(":") used twice here, it should be pulled into a variable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150707/b7433497/attachment-0001.html>


More information about the webkit-unassigned mailing list